Giter Club home page Giter Club logo

nestjs-rest-template's Introduction

NestJS Rest Template ๐Ÿš€

The goal of this project is to provide a fast and robust solution to start your project in NestJS.

How to start using this project?

  1. Clone repo: [email protected]:Alejandrehl/nestjs-rest-template.git
  2. Create .env file: cp .env.example .env
  3. Setup your environment variables in .env file.
  4. Change name, version, description and author in package.json file.
  5. Install dependencies: yarn install
  6. Run project: yarn start:dev

Features

  1. OpenAPI (Swagger)
  2. MongoDB
  3. Typegosee
  4. JWT
  5. Sendgrid

Libraries and dependencies

  1. @nestjs/config: Configuration module for Nest based on the dotenv (to load process environment variables) package.
  2. @nestjs/schedule: Distributed Schedule module for Nest based on the node-schedule package.
  3. @nestjs/terminus: This module contains integrated healthchecks for Nest.
  4. nestjs-typegoose: Injects typegoose models for nest components and controllers. Typegoose equivalant for @nestjs/mongoose.
  5. @ntegral/nestjs-sendgrid: Injectable SendGrid client for your nestjs projects.
  6. mongoose: Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Mongoose supports both promises and callbacks.
  7. @typegoose/typegoose: Define Mongoose models using TypeScript classes.
  8. @nestjs/swagger: OpenAPI (Swagger) module for Nest.
  9. swagger-ui-express
  10. bcryptjs: A bcrypt library for NodeJS.
  11. class-validator: Allows use of decorator and non-decorator based validation. Internally uses validator.js to perform validation. Class-validator works on both browser and node.js platforms.
  12. BcryptJS: Optimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'.
  13. @nestjs/passport: Passport utilities module for Nest.
  14. passport-jwt: Passport authentication strategy using JSON Web Tokens.
  15. @nestjs/jwt: JWT utilities module for Nest based on the jsonwebtoken package.
  16. passport: Simple, unobtrusive authentication for Node.js.
  17. class-transformer: Proper decorator-based transformation / serialization / deserialization of plain javascript objects to class constructors.

Technical Debt

  1. Testing
  2. HealthCheck

nestjs-rest-template's People

Contributors

alejandrehl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.