- REST Express API with JWT Auth
- Prisma ORM and PostgreSQL database
- Testing pipeline with Jest and Docker
Install the packages:
$ npm install
Create a .env
file with the same structure as .env.test
and start the server:
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Starts up a fresh test database container and runs the migrations every time before initializing tests.
$ npm run test