A boilerplate implementing my tech stack of choice.
- Fork this repo
$ git clone https://github.com/your-username/Boilerplate.git
$ cd path/to/Boilerplate && npm run init && npm run build
npm run init
Installs all dependencies found in package.json
as well as writing a default config.json
file that sensitive statics can be defined outside of the repo.
gulp
Gulp will watch and build accordingly serving your assets using Browsersync.
npm run build
Builds source using Gulp.
npm run test
Performs tests using jasmine-node and Frisby.
npm start
Runs the server using supervisor.
I've switched to a static boilerplate and will reimplement the dynamic Node server in the future.
For now, it has:
- GulpJS build system (with integrated Jasmine BDD testing)
- Jade templating
- Browserify for client side dependency
SocketIO(to be reimplemented)- Scripting in SASS & CoffeeScript
- Bootstrap, Backbone, Lodash, JQuery
Express server with static assets folder(To be reimplemented)- Cachebusting based on date
- Flat UI Colors and Animate.css for fron-tend niceties
config.json
system for project-wide configuration e.g. environment
- Cachebuster based on cached git commit hash rather than datestamp
- Update to Bootstrap 4.0 (whenever it ships)