omer2500 / NodeJS-API-boilerplate

NodeJS API boilerplate with best practices implementation and tools like Mongo&Mysql integration, Docker, Winston and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node API boilerplate

This is a boilerplate project for an quick and lean nodejs server base on Express.

  • the project contains basic and useful packages such as:
  • database connectors to mysql (with multiple pool connections) & mongoDB(with an easily extended baseClass).
  • secure your api with helmet, express-rate-limit, json web token, etc.
  • sending emails with nodemailer.
  • wrapper for creating crons easily.
  • .env files for different environments.
  • manage and whitelist CORS by environment
  • ready user management and permissions for both Mysql & MongoDB.
  • extensible swagger Api, spec and definitions...

Getting Started

Install dependencies.

npm i

Then using Nodemon

nodemon

Prerequisites

Please install Node with npm.

Authors

License

This project is licensed under the MIT License

About

NodeJS API boilerplate with best practices implementation and tools like Mongo&Mysql integration, Docker, Winston and more


Languages

Language:JavaScript 94.1%Language:HTML 2.6%Language:TSQL 2.4%Language:Dockerfile 0.8%