Skip to content

stssrn/ProjectC_Groep5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antes Onboarding App

Development

First, make sure that the environment variables for the Postgres database are inside src/.env.

To generate Typescript types from the Prisma schema run:

cd src
pnpx prisma generate

To run the dev server run:

cd src
pnpm dev

To seed the database run:

npx prisma db seed

Warning

Do not run pnpx prisma db seed because it doesn't work pnpm/pnpm#6464. Use npx!

Building

To build the app run:

cd src
pnpm build

Testing

To run the tests, run the dev server on port 3000 and then run:

pnpm test