A starter project of express 4X and angular 1.3
This project is based on my sub project of Node Tutorial.
The todo sample is based on this todomvc tutorial.
Travis CI is used for continuous integration.
Here is a new starter project rewritten in JavaScript 2015, also the front part is transformed in component style.
Here is a Live Demo. This demo is deployed on Heroku, using its mongolab addon.
- mongoDB is a precondiction. If you haven't installed mongoDB yet, follow this guide to install it.
- Run the command
npm install
for the server dependencies, maybe you need the administrator right withsudo npm install
. - Run the command
bower install
for the client dependencies. - Move the resources(.js and .css) :
gulp move
.
Unit test is supported by KARMA, Mocha, chaijs and phantomjs. The E2E test is supported by Mocha and shouldjs and Zombiejs. Today the E2E test covers the url connections.
- Run the command
npm test
for the E2E test. - Run the command
karma start
for the unit test.
- complete unit test
- complete E2E test
add service in todo sampleadd mongodb service
MIT