/express-mongodb-template

Express Template using MongoDB (with mongoose), routing controllers and more...

Primary LanguageTypeScriptMIT LicenseMIT

Express template

This template was build with ExpressJS and Routing Controllers package for clean and concise code.


Features

  • CRUD users

    Complete CRUD for users with auth protection and mongoose validations.

  • Authentication with JWT

    The API has protection implemented with JWT and some validations aplied on this feature, like expiration time, user password changed at verification.

  • Types!

    Interfaces and stric mode enabled!

  • More is coming...

    I want implement more security layers, error handlers, interfaces, tests, commands, linting, and more!


Requirements

  • NodeJS
  • MongoDB (running service)

Installation

  • git clone https://github.com/sourcevortex/express-template.git
  • npm install
  • Create a copy of file .env.example with name .env and fill it
  • npm run start:dev for run and watch modifications

Under development

If you see any error or want a new feature, please open a issue!