In the root folder of the repository:
$ npm install- Make a copy of
/.env.exampleat/.env.
Start up the local development environment (full infrastructure) by running:
$ npm run dev:fullStart up the local development environment (frontend and backend only) by running:
$ npm run devThe frontend should be served from http://localhost:3000 and the backend should be accessible from http://localhost:8080.
Create a new migration file by running:
$ npm run migration:gen -- <name_of_migration>Synchronize your database with existing migrations by running:
$ npm run migration:runUpdate the type definitions in the Prisma Client package by running:
$ npm run prisma:genSeed the database with questions by running:
$ npm run on-serverless build
$ npm run on-serverless start