Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 612 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 612 Bytes

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