-
-
Save lbdremy/968150 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The ExpressJS-MongooseJS.org initiative ;) | |
Trying to come up with a standard expressjs + mongoose mvc-like folder structure. | |
still keep it flexible, so anyone can do whatever they want, | |
but provide a structure for new people. | |
(borrowing a little form rails) | |
-/app | |
--/controller | |
---/user_controller.js | |
--/models | |
---/index.js | |
---/user.js | |
--/views | |
---/layout.js | |
---/index.js | |
---/user/ | |
----/index.js | |
-/lib | |
--/site.js | |
--/helpers.js | |
-/public | |
--/javascript | |
--/stylesheets | |
index.js | |
Readme.md | |
History.md | |
package.json | |
Partials naming convention: | |
_<name>.js | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment