A MEAN stack seesed project with testing for angular (controllers + services) and node. The motivation to get basic integration working between Angular, Node and Mongo while at the same time providing a set of unit tests for Angular and Node.
#Angular
- Karama is the test runner for angular
- Jasmine is the BDD style language for tests
- Angular-mocks used for spying and mocking
#Node Sinon, Mocha, Chai, Mockery
##Prerequisites
- You will need
Node.js,NPMandBowerinstalled npm install -g grunt-clinpm install -g nodemonnpm install -g karma-cli
##Install Dependencies From the root of the app run the following commands.
npm installbower install
##Run Angular Tests
karma start
##Run Node Tests
- In progress ...
##Running Application
node server.js- navigate to
http://localhost:8080/
#To do
- Node Tests
- Improve the base UI