8000 GitHub - mandarini/habitus · GitHub
[go: up one dir, main page]

Skip to content
mandariniPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Habitus

A GitHub-style habit tracker that visualizes your daily consistency using contribution graphs.

Prerequisites

Setup

1. Install dependencies

npm install

2. Create the Supabase tables

Run the migration in your Supabase project's SQL Editor (or via the Supabase CLI):

# Using Supabase CLI
supabase db push

Or copy the contents of supabase/migrations/20251211171619_create_habits_tables.sql into the SQL Editor in your Supabase dashboard.

3. Configure environment variables

Copy the example env file and fill in your Supabase credentials:

cp .env.example .env

Edit .env with your project URL and anon key (found in your Supabase dashboard under Settings > API):

VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key

4. Run the app

npm run dev

The app will be available at http://localhost:5173.

Other commands

npm run build      # Production build
npm run preview    # Preview production build
npm run lint       # Run ESLint
npm run typecheck  # Run TypeScript type checking

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0