nodejs-api-boilerplate

A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)

javascriptdockerboilerplateexpressmongodbeslintes6docker-composemongooseravenprettierjoy
FreeRepo

Preview

nodejs-api-boilerplate preview

Overview

This is a Node.js API boilerplate that provides a pre-configured backend structure for building REST APIs with built-in security, validation and monitoring features. It uses Express, MongoDB, Mongoose, Webpack and Passport for authentication and includes tools for request validation with Joi, error logging with Sentry, code linting and testing with Mocha and Chai.

Features

jwt-authenticationrequest-validationbody-whitelisterror-loggingapi-documentationpre-commit-hooksdatabase-seedsdocker-support

Feature Flags

authenticationblogemailspaymentsfileUploadsstorageauthorizationloggingErrorTrackingnotificationsapiDocsformsValidation

Recommended Use Cases

rest-api-developmentnodejs-backend-projectsjwt-authenticated-services

Frontend

None

Backend

nodejsexpressmongoosepassport

Auth Providers

next-authpassportpassport-localpassport-jwt

Deployment Targets

docker

Payment Providers

None

Quick Facts

โญ Stars
465
๐Ÿด Forks
122
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown

Stack

Framework
express
Language
javascript
Database
mongodb
Auth
passport, passport-local, passport-jwt
ORM
mongoose
Testing
mocha, chai, supertest
Monitoring
sentry
Logging
morgan, raven
CI
travis-ci, circle-ci

Data Layer

Databases
mongodb
ORM
mongoose

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
circleci, travis-ci, circle-ci

Pricing

Classification
free
Selected
โ€”
Notes
No clear pricing signals
Get Started with this Boilerplate