pnpm install
pnpm dev
# or start the server and open the app in a new browser tab
pnpm dev -- --open
Apply migrations:
npx prisma migrate dev
Seed the database if need be:
npx prisma db seed
After changing the prisma schema, create a new migration:
npx prisma migrate dev --name <migration-name>
To re-generate Prisma Client, run:
npx prisma generate
To create a production version of the app:
pnpm run build
You can preview the production build with pnpm run preview
.
To deploy, you may need an adapter depending on the target environment.