Skip to content

pedroaugustofb/nestjs-mongodb-template

Repository files navigation

Nest.js Mongodb New Project Template

This template provides a minimal setup to get Nestjs with Typescript and Mongodb working. Here it was installed/done somethigs to basic setup like:

  • Mongoose for Schemas and Mongodb Config 🌟
  • Class-Validator Class-Transformer for dtos management 📊
  • Mongosse multiples databases config if you need 👩‍💻
  • Error Inteceptor 🖥️
  • Basic Structure for login ⭐
  • Auth Middleware to validate Bearer Token in the requests 🖥️
  • Create user route exemple with cripted password 👩‍💻

In this project you will find:

Javascript Typescript MongoDB Express.js NestJS

For contact me:

Nest.js Original README

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.