Skip to content

Additional

ajduet edited this page Apr 23, 2019 · 3 revisions

Running locally

Assignforce is developed with support from an MSA. Developing locally can't rely on running all the services locally. The client is setup to run standalone with support from a JSON-SERVER api. To run the application locally, simply run npm run json-server. This will start up the JSON-SERVER rest api. Then run npm run dev:server. This will start the angular application with the proper environment setup to make http calls to the JSON-SERVER api.

Testing locally

Assignforce is built around TDD and new features must be test thoroughly before incorporating new code into build. The client-side code is tested using Jest. To run the test in a single run, execute the command npm run test. To run the test with a code watch, execute the command npm run test:watch. This will provide to filter tests. To run test with a coverage report, execute the command npm run test:coverage.

Project References

Clone this wiki locally