Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 885 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 885 Bytes

Description

Nest framework TypeScript starter pack.

Project setup

$ pnpm install

Compile and run the project

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Run tests

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

Database setup

Prisma is used to handle DB communication & data migration. To run a local copy of the database, make sure to copy the contents of ".env.sample" into ".env", and setup your db credentials. Afterwards, you can just run "npx prisma migrate dev". This will create all the necessary tables in the db. If you don't have a local setup for postgres, you can use docker to stand up on. Run "docker-compose up -d".