- Create your own workout plan
- Add your own exercises
- Track your workouts
- Track your progress (BMI, weight etc.)
- Configure
.envfile- Supabase API Settings
- Copy
Project URLtoDATABASE_URLandNEXT_PUBLIC_SUPABASE_URL - Copy
Project API Keys: anon/public keytoNEXT_PUBLIC_SUPABASE_ANON_KEY
- Run
yarn install && npx prisma generate - Run
./reset_db.sh - Run
./dev.sh(make sure have docker) - Disable email confirmation under Authentication > Providers > Email in Supabase UI
- run
create_user.shinscriptsfolder
Debugging:
- make sure you are not ip banned on the supabase admin dashboard (if you failed to login)
- Visualize your prisma schema with this
https://www.prisma.io/docs/concepts/components/prisma-migrate/mental-model
prisma migrate dev for development environment
prisma migrate deploy for deployment (PRD) environment
- Edit the DBML documentation before editing the schema
- index.tsx is the 'container'
- wrap logic in hooks where possible
- kebab-case for non-react file names
- PascalCase for class files
- camelCase by default
- Landing Page
- Login Page
- Home Page
- Workout Plan
- Execute Workout Plan and track history/progress
- Run Plan/History

