Stack:
- TypeScript
- Next.js
- NextAuth.js
- Prisma
- tRPC
- Zod
- Tailwind CSS
- ESLint
- Bun
- Install Bun: install page
- Install FNM (Fast Node Manager): install page
Install dependencies:
bun install
Start dev server:
bun run dev
Prototype schema (without actual migration):
bun run db:push
bun run db:push --force-reset
Migrate database
bun run db:migrate
bun run db:migrate:dev --name <NAME_OF_MIGRATION>
Generate database
bun run db:generate
Seed db with test data:
bun run db:seed