Introducing the Full-Stack Modular Boilerplate
Congrats! You have received a coding challenge from a potential employer. Or, you have a comittment-free rainy weekend to hack on a new, green-field coding project.
What’s the best way to get started? Don’t get stuck with a long, boring setup. Even copying and pasting some old code could work… but how about getting everything ready in a couple of commands?
git clone ivanoats/modular-boilerplate
and then:
cd modular-boilerplate && npm install && bower install
This repository includes a boilerplate for full-stack web apps using CommonJS (Browserify) modules, Grunt, a simple, extensible, ExpressJS sever, and the Jasmine Testing Framework with Karma runner.
Basically, it has everything you need to get going to create modular, testable JavaScript code on the server and the browser.
Open up app/js/app.js
in your favorite editor and start writing some code!
If anyone is interested in me turning this into a Yeoman generator, please let me know.