In my project I want to use coffeescript for both backend and frontend to develop it all in one programming language. Below is a list of modules I'm going to use:
Note that some modules are used both in backend and frontend: coffeescript, jade, stylus.
I've used npm to manage server side modules and bower to manage client side modules. I've decided to keep it all as one project for easier maintenance and code sharing. I've used grunt as javascript task runner.
My questions is:
Is there a single tool that automatically generates project in a configuration mentioned above and provides basic file structure and examples?
What you've just described is the MEAN stack.
There are a boatload of MEAN frameworks which promote good practice. Consider looking at these two, but also google the heck out of the topic if you're interested:
You might want to have a look at tutorials like Thinkster.io's on the MEAN stack.
Managing dependencies should never be more of a hassle than adding libs to your package.json
or bower.json
files and require()'ing or otherwise loading those installed dependencies. Thankfully we've got a good suite of package managers for all aspects of the MEAN stack:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With