008ea1677f3d3325f8345a8029699dd9a503d9b4
Habit Pet
Bootstrap repo for the Calgary hackathon Habit Pet project.
Stack
- Next.js
- Supabase
- Vercel
- GitHub
Scope of this bootstrap
This repo currently stops at:
- Next.js app scaffold
- Supabase auth wiring from the starter
- environment variable template
- deployment-ready project structure
This repo does not yet include MVP feature pages, SQL schema, avatar logic, habits, streaks, or shop logic.
Local setup
-
Install dependencies:
npm install -
Create local environment file:
cp .env.example .env.local -
Add Supabase values to
.env.local:NEXT_PUBLIC_SUPABASE_URL= NEXT_PUBLIC_SUPABASE_ANON_KEY= -
Start the app:
npm run dev -
Create a production build when needed:
npm run build
Supabase
Create a Supabase project, then copy the project URL and anon key from Project Settings > API into .env.local and Vercel project environment variables.
The starter also supports Supabase's publishable key name, but this repo documents the anon key convention from the project plan.
Deploy
- Push the repo to GitHub.
- Import the repo into Vercel.
- Add the same Supabase environment variables in Vercel.
- Deploy.
Frontend and backend are both served from this Next.js app. Supabase provides auth and database services.
Description
Tamagotchi-style habit tracker built at the Calgary Hackathon - Next.js 16, Supabase, OpenRouter
Languages
TypeScript
96.3%
CSS
1.9%
PLpgSQL
1.7%
JavaScript
0.1%