Skip to content
/ nestjs-starter Public template

๐Ÿš€ NestJS starter boilerplate with Basic Authentication, Swagger docs, Containerized - k8S confguration and Testing

License

Notifications You must be signed in to change notification settings

hmake98/nestjs-starter

Repository files navigation

NestJS Starter Boilerplate

CodeQL Run Tests

Installation

$ yarn

Running Server

# development
$ yarn dev

# production
$ yarn start

Running all services on Docker

docker-compose up --build

Run only database and redis services on Docker

docker-compose up postgres redis

Build

yarn build

Tests

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Swagger Documentation

  • Swagger documentation endpoint will be running at /docs .

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.

Author

๐Ÿ‡ฎ๐Ÿ‡ณ Harsh Makwana
Github Linkedin Instagram