A developer quiz game combining trivia with roguelike mechanics. Test your knowledge across various programming topics while strategically managing resources and building configurations.
- Clone the repository
- Copy
.env.sampleto.envand fill in your Supabase credentials - Install dependencies:
npm install - Set up database:
npm run db:refresh - Start development server:
npm run dev
Visit http://localhost:3005 to play!
- TanStack Start (React-based full-stack framework)
- PostgreSQL + Drizzle ORM
- Supabase Auth
- Tailwind CSS
- Vitest + Testing Library
- Make schema changes in
src/database/schema.ts - Generate migration:
npm run db:generate - Apply migration:
npm run db:push
Manual Migration Approach (Current):
- Generate migration locally:
npm run db:generate - Review the generated SQL in
drizzle/folder - Apply to production using psql:
psql "postgresql://postgres.smrkmigjsnhrhwrxobjc:[PASSWORD]@aws-1-eu-west-1.pooler.supabase.com:6543/postgres" \ -f drizzle/XXXX_migration_name.sql - Push code changes to
mainbranch
Note: Replace [PASSWORD] with your Supabase database password and XXXX_migration_name.sql with the actual migration filename.
- Update the db if changes were made by connecting to the production server and running DB scripts
- Push to
mainbranch