/nestjs-starter

Primary LanguageTypeScriptMIT LicenseMIT

Nest Logo

Installation

$ npm install

Running the Server

# development
$ npm run dev

# production
$ npm run start

Running services on Docker

docker-compose up

Build

npm run build

Tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

# run tests in local
$ npm run test:local

# run e2e tests in local
$ npm run test:local-e2e

Run Database commands using Nesjs Console

# will list down all commands related with database.
$ npm run console:dev db

Swagger Documentation

  • Swagger documentation endpoint will be running at /api .

K8s Deployment Local

# first start minikube
minikube start

# deployment
kubectl apply -f k8s/

# get endpoint of k8s cluster
minikube service nestjs-starter-service

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.

License

Nest is MIT licensed.