Skip to content

Instantly share code, notes, and snippets.

@alexgorbatchev
Created January 14, 2014 23:48
Show Gist options
  • Save alexgorbatchev/8428232 to your computer and use it in GitHub Desktop.
Save alexgorbatchev/8428232 to your computer and use it in GitHub Desktop.
MEAN folder structure
/node_modules
/package.json
/src
/node_modules
/client -> ../client
/server -> ../server
/shared -> ../shared
/client
/apps
/main
/test
main.spec.js
index.js
/modules
/foo
/test
foo.spec.js
index.js
/server
/apps
/modules
/shared
@alexgorbatchev
Copy link
Author

from any file in the src you can require("shared/foo") or require("client/modules/foo") and so on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment