NodeJS-RESTful-API-Boilerplate

This is a production-ready skeleton for building RESTful APIs in Node.JS using Express and MongoDB.

nodejsapiboilerplateexpressmongodbjestmongooserest-apieslintprettierhusky
FreeRepo

Preview

NodeJS-RESTful-API-Boilerplate preview

Overview

NodeJS RESTful API Boilerplate. This is a production-ready skeleton for building RESTful APIs in Node.JS using Express and MongoDB. The skeleton has many built-in features, such as authentication using JWT, request validation, unit and integration tests, continuous integration, API documentation, etc. For more details, please check the features list below.

Features

jwt-authenticationtwo-factor-authenticationrequest-validationfile-uploadsemail-sendingsms-sendingapi-documentationerror-handlingprocess-managementsecurity-headersxss-sanitizationcorsgzip-compressioncode-coveragegit-hooksconventional-commitslintingcode-formatting

Feature Flags

authenticationemailsfileUploadsauthorizationloggingErrorTrackingjobsQueuenotificationsapiDocsformsValidation

Recommended Use Cases

rest-api-developmentproduction-ready-backendmicroservicesscalable-applications

Frontend

None

Backend

nodejsexpress

Auth Providers

passportjwt

Deployment Targets

pm2

Payment Providers

None

Quick Facts

โญ Stars
5
๐Ÿด Forks
2
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2022-05-27T17:50:58.000Z

Stack

Framework
express
Language
javascript
Database
mongodb
Auth
jwt, passport, speakeasy
ORM
mongoose
Testing
jest, supertest
Logging
winston, morgan
CI
github-actions

Data Layer

Databases
mongodb
ORM
mongoose

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
github-actions

Pricing

Classification
free
Selected
โ€”
Notes
Open-source MIT licensed project
Get Started with this Boilerplate