Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cminhho/book-manager-exercise

Book manager exercise
https://github.com/cminhho/book-manager-exercise

angularjs bootstrap3 jasmine karma mean-stack

Last synced: about 1 month ago
JSON representation

Book manager exercise

Awesome Lists containing this project

README

        

# Book Manager Exercise

Technicals:
- AngularJS
- Jasmine

Prerequisites:

- NodeJS
- npm
- Mongo (https://docs.mongodb.com/manual/installation/)
- Bower:
npm install -g bower
- Karma CLI:
npm install -g karma-cli

To run application:

- Install dependencies:
npm install

- Install bower libraries:
bower install

- Have a local instance of mongo db running:
mongod

- Run Server:
node server/server

Visit to http://localhost:8080 to view the home page

To run unit tests:
npm run test

Opening the HTML report at target\test-results\coverage\report-lcov\lcov-report\index.html results in:

References:
- https://scriptverse.academy/tutorials/jasmine-createspy-createspyobj.html