A simple NodeJS app, that I am using as a playground to try out and new technologies and frameworks.
- Server-side - NodeJS
- Database - MongoDB
- Client-side - BackboneJS (with MarionetteJS), RequireJS
- Task Runner - GulpJS
- Client-side testing - Mocha, Chai and Sinon
- Client-side coverage - Istanbul
- Client-side dependency manager - Bower
- API documentation - Swagger UI
- API testing - Supertest
- UI testing - PioneerJS
- Make sure NodeJS and MongoDB are installed
- Run
npm install
andbower install
for dependencies - install gulp globally
sudo npm install -g gulp
- Start app by running
gulp
- see
gulpfile.js
for a list of available tasks
- After running
bower install
, edit/public/bower_components/swagger-ui/dist/index.html
and change the url towards the top of the file tohttp://node.github.dev:8000/api-desc/
- Then go to
http://node.github.dev:8000/api-docs/
in a browser