Skip to content

Node JS Boilerplate project with ExpressJS + MongoDB + PUG. Permissions, Auth, Routing, API Cache, Dynamic Pagination, 3rd-party error handler APIs, loggers, 3 level deployment cycles. REST APIs with best practices from top devs and projects on GitHub.

License

Notifications You must be signed in to change notification settings

ronakjain2012/node-boilerplate

Repository files navigation

Welcome to Node Boilerplate! enter image description here

This is a full stack web-app boilerplate project with ExpressJS + MongoDB + PUG. It is NOT an out-of-box project. I make it in order to create an up-to-date starter kit which contains all important functions (user signup, login, oauth, profile, ...etc) except the business-logic.

This is just my personal boilerplate, it may or may not be a good fit for your project(s) but I tried to make it best as much as I can. Inspired by dstroot/skeleton and sahat/hackathon-starter

If you like my work, please 💸 donate. Thank you!

Table of Contents

 |-public
 | |-js
 | | |-script.js
 | |-views
 | | |-nav.pug
 | | |-index.pug
 | | |-layout
 | | | |-footer.pug
 | | | |-main.pug
 | | | |-header.pug
 | |-plugins
 | | |-holder
 | | | |-holder.js
 | | |-bootstrap
 | | | |-js
 | | | | |-bootstrap.js
 | | | |-css
 | | | | |-bootstrap.css
 | | |-popper
 | | | |-popper.min.js
 | |-css
 | | |-style.css
 |-userStorage
 |-utils
 | |-globalHelpers.js
 | |-helper.js
 | |-apiResponse.js
 |-locales
 | |-hi.js
 | |-en.js
 | |-fr.js
 | |-ru.js
 |-package.json
 |-index.js
 |-config
 | |-db
 | | |-mongo.js
 | |-others
 | | |-winston.js
 | |-heart.js
 | |-env
 | | |-index.js
 | | |-staging.js
 | | |-development.js
 | | |-integration.js
 | | |-default.js
 | | |-production.js
 | |-const
 | | |-const.js
 |-a.out
 |-__doc
 | |-dirStructure
 | | |-0.0.1
 | |-todos
 | | |-integrations
 |-.babelrc
 |-yarn-error.log
 |-build
 |-.env
 |-LICENSE
 |-.eslintrc.json
 |-.gitignore
 |-storage
 | |-seed
 | |-logs
 | | |-waring.log
 | | |-error.log
 | | |-morgan
 | | | |-access.log
 | | |-log.log
 | | |-info.log
 | |-.gitignore
 | |-migration
 |-routes
 | |-index.js
 | |-api.js
 | |-web.js
 |-README.md
 |-package-lock.json
 |-app
 | |-controllers
 | | |-testController.js
 | |-models
 | |-services
 | | |-error.js
 | | |-s3.js
 | | |-log.js
 |-.env.example
 |-webpack.config.js
 |-.prettierrc

MIT

About

Node JS Boilerplate project with ExpressJS + MongoDB + PUG. Permissions, Auth, Routing, API Cache, Dynamic Pagination, 3rd-party error handler APIs, loggers, 3 level deployment cycles. REST APIs with best practices from top devs and projects on GitHub.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages