
Build it yourself: Habby
Learn step by step how to build Habby yourself.
Step 1 of 4
Create habits table in Supabase
Create tables for habits and habit logs with streak tracking, cue/reward following Atomic Habits.
sql
create table habits (
id uuid primary key default gen_random_uuid(),
user_id uuid references auth.users,
name text not null,
frequency text check (frequency in ('daily','weekly','custom')),
cue text,
reward text,
streak int default 0,
best_streak int default 0
);
create table habit_logs (
id uuid primary key default gen_random_uuid(),
habit_id uuid references habits(id),
completed_at timestamptz default now(),
notes text
);Learn to build Habby
Module 08: Proactive Agents
Transform your agents from reactive responders to proactive assistants. Learn triggers, scheduling, context awareness, and anticipatory actions.
3 hours9 Lessons
Go to course module