Skip to content

Node + Express + MongoDB (Folder Structure) with JWT Authorization (Async / Await) ES6 Features.

Notifications You must be signed in to change notification settings

rahulshukla-rs/node-express-mongodb-folder-structure-with-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-express-mongodb-folder-structure

Node + Express + MongoDB (Folder Structure) with JWT Authorization + Custom ACL (Async / Await) ES6 Features.

Note: This is use for Advance level API using new features.

I have created one more folder structure for Basic use, without JWT Auth & Middelware
Link: https://github.com/rahulshukla-rs/node-express-mongodb-folder-structure

Organizing our application:

Inside the MainApp directory, I have created the following four subdirectories

  • app.js
  • config
    • server.js
    • acl.js
  • api
    • controllers
    • models
    • routes
    • middleware
  • package.json
  • .gitignore
  • node_modules

About

Node + Express + MongoDB (Folder Structure) with JWT Authorization (Async / Await) ES6 Features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published