A graphic-design application, written in NestJS, with the use of PostgreSQL, Prisma.
Prior to setup, create an .env
file based on the .env.example
file, and fill in the required vars.
# in the `server/` directory
$ yarn install
$ psql 'hostname'
$ CREATE DATABASE 'DB-NAME'
$ yarn run prisma:prepare
$ yarn run migrate:dev
# development
$ yarn run dev
You can now access the API, using the port, provided in the .env
file.
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov