/node-modular-mvc

Modular MVC Project Structure in Node.js

Primary LanguageJavaScript

Node.js Project MVC Directory STRUCTURE
+---app
|   +---modules
|   |   +---Pages
|   |   |   +---Commands
|   |   |   |       ace_commands.js
|   |   |   +---Controllers
|   |   |   |   |   index.js
|   |   |   |   \---Admin
|   |   |   |           edit.js
|   |   |   |           list.js
|   |   |   +---Database
|   |   |   |       setup_data.js
|   |   |   |       setup_schema.js
|   |   |   +---Events
|   |   |   |       events_by_listeners_actions.js
|   |   |   +---Models
|   |   |   |       Pages.js
|   |   |   \---Sockets
|   |   |           web_sockets.js
|   |   \---Users
|   |       +---Commands
|   |       |       ace_commands.js
|   |       +---Controllers
|   |       |   |   index.js
|   |       |   \---Admin
|   |       |           edit.js
|   |       |           list.js
|   |       +---Database
|   |       |       setup_data.js
|   |       |       setup_schema.js
|   |       +---Events
|   |       |       events_by_listeners_actions.js
|   |       +---Models
|   |       |       Users.js
|   |       \---Sockets
|   |               web_sockets.js
|   \---themes
|       +---admin
|       |   +---globals
|       |   |       footer.edge
|       |   |       header.edge
|       |   +---layouts
|       |   |       admin.edge
|       |   +---Pages
|       |   |       edit.edge
|       |   |       list.edge
|       |   \---Users
|       |           dashboard.edge
|       |           login.edge
|       \---frontend
|           \---October
|               +---globals
|               |       footer.edge
|               |       header.edge
|               +---layouts
|               |       home.edge
|               +---Pages
|               |       list.edge
|               |       view.edge
|               \---Users
|                       dashboard.edge
|                       login_register.edge
+---config
|       app.js
|       database.js
+---public
|   +---admin
|   |   +---css
|   |   |       styles.css
|   |   +---images
|   |   |       splash.png
|   |   \---js
|   |           scripts.js
|   \---frontend
|       \---October
|           +---css
|           |       styles.css
|           +---images
|           |       splash.png
|           \---js
|                   scripts.js
\---storage
    \---log
|   .env
|   .gitignore
|   ace
|   app.js
|   package.json
|   README.md

=========

Minimal Node.js Project MVC Directory STRUCTURE

Alt text