angularjs - How to organize frontend and backend project structure in node.js? -



angularjs - How to organize frontend and backend project structure in node.js? -

in project want utilize coffeescript both backend , frontend develop in 1 programming language. below list of modules i'm going use:

backend coffeescript node.js express.js mongodb redis jade stylus frontend coffeescript angular.js jade stylus

note modules used both in backend , frontend: coffeescript, jade, stylus.

i've used npm manage server side modules , bower manage client side modules. i've decided maintain 1 project easier maintenance , code sharing. i've used grunt javascript task runner.

my questions is:

is there single tool automatically generates project in configuration mentioned above , provides basic file construction , examples?

structuring mean projects

what you've described mean stack.

there boatload of mean frameworks promote practice. consider looking @ these two, google heck out of topic if you're interested:

mean.js sails.js (which i'm using project @ moment)

you might want have @ tutorials thinkster.io's on mean stack.

managing dependencies

managing dependencies should never more of hassle adding libs package.json or bower.json files , require()'ing or otherwise loading installed dependencies. thankfully we've got suite of bundle managers aspects of mean stack:

see npm, node back-end js bundle manager, you'll utilize server-side dependencies. [getting started npm] see bower, front-end * bundle manager, clientside js libs, css frameworks , like. [getting started bower] grunt taskmanager i'd encourage consider gulp opposed grunt, it's flexibility , improved performance [getting started gulp]

node.js angularjs mongodb coffeescript

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -