Project setup
On GNU/Linux, run
sh setup.sh
This will:
- Install the Nuxt 3 project
- Create a .env file with the database path
Nuxt 3 Development Server
npm run dev
Database migrations
Run this to setup the database on every schema changes
sh migrate.sh VERSIONNUMBER
This will
- Create a new migration file
- Push it to the database
- Generate a new Prisma client
- Generate TypeScript interfaces following the Prisma schema using @kalissaac/prisma-typegen