Skip to content

Latest commit

 

History

History
84 lines (62 loc) · 3.72 KB

README.md

File metadata and controls

84 lines (62 loc) · 3.72 KB

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

Prisma Initialize

  • This project source use prisma as ORM, so to start prisma use this command: yarn prisma init

Run docker with .env file

-docker build -t gateway-server . -docker run -d --name nestjs-backend --env-file .env -p 8080:8080 gateway-server

Way to build container with docker

  • open gateway-db and up this db container
  • create network to communication between container: docker create network mysql-network
  • modify db url in prisma