What’s the best way to start on a JavaScript project? Don’t go through a lengthy setup process, or copy and paste code from an old project. Get everything ready in a few simple commands.
I’ve created a full-stack modular boilerplate to help you skip the long, boring setup and get started on your new project quickly.
How to Get Started
git clone ivanoats/modular-boilerplate
Then:
cd modular-boilerplate && npm install && bower install
You’re done! This setup has everything you need to get going to create modular, testable JavaScript code on the server and the browser.
What’s Included
This repository is a boilerplate for full-stack web apps using:
-
CommonJS (Browserify) modules
-
A simple, extensible ExpressJS sever
Next Steps
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.