Skip to content

dbindea/nestjs-starter-project

Repository files navigation

Nest Logo

Description

NestJS framework TypeScript starter repository with the most important components.

Features

  • Modularized project
  • API Rest ready on http://127.0.0.1:3000/api/v0/
  • Development, Production environment ready
  • Passport, JWT Security implemented
  • User Login with Mongo database
  • NestJS Middelware implemented
  • NestJS Interceptor implemented
  • NestJS Filter implemented
  • Mongodb connection ready
  • Express server configured with elemental security implemented
  • Scheduler implemented
  • Compodoc documentation implemented (npx compodoc -p tsconfig.json -s) on http://127.0.0.1:8080
  • Swagger API Document on http://127.0.0.1:3000/doc

Requirements

  • Mongodb instance on localhost, default port
  • For production set environment variable: "prod"

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run build
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

NestJS Starter Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published