Skip to content

cash-counter/cc-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cash Counter

Installation

The project requires you have mongodb installed, it will use by default port 27017. Check out app/configs/dev.json. Project dependencies can be installed through:

npm install

Startup

To start the app run:

npm start

Running tests

There are two types of tests, unit and api (e2e). Tests run in a different node port, so server never needs to stop since test will start and shutdown its own required server. Each type of tests generates its own coverage report. When running all tests both coverages will be merged into a single final report. The following commands are used to run tests:

npm run test // to run all tests npm run test:ut // to run unit tests npm run test:api // to run api tests

Coverage reports can be found inside test folder:

test/coverage test/coverage/all-coverage test/coverage/ut-coverage test/coverage/api-coverage

Linter

The linter runs only when npm run test command is run.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published