How to organize the structure of the frontend and backend project in node.js?

In my project, I want to use coffeescript for both the backend and the interface in order to develop it in one programming language. The following is a list of modules that I am going to use:

Backend

  • CoffeeScript
  • node.js
  • express.js
  • Mongodb
  • Redis
  • nephritis
  • stylus

Frontend

  • CoffeeScript
  • angular.js
  • nephritis
  • stylus

Please note that some modules are used both in the backend and in the frontend: coffeescript, jade, stylus.

I used npm to manage modules on the server side and bower to manage modules on the client side. I decided to save all this as one project to simplify maintenance and code exchange. I used grunt as a javascript task runner.

My questions:

, , , ?

+4
1

MEAN

, , MEAN.

MEAN, . , , google, , :

, , Thinkster.io MEAN.

, package.json bower.json () . , MEAN:

Grunt

+3

All Articles