Skip to content

xie-qianyue/express-angular-starter

Repository files navigation

express-angular-starter

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.

Live Demo

Here is a Live Demo. This demo is deployed on Heroku, using its mongolab addon.

Install

  • 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 with sudo npm install.
  • Run the command bower install for the client dependencies.
  • Move the resources(.js and .css) : gulp move.

Test

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.

Todo

  • complete unit test
  • complete E2E test
  • add service in todo sample
  • add mongodb service

License

MIT

About

A starter project of express 4X and angular 1.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published