Please follow the instructions below to run the project:
- Clone the project
git clone https://github.com/Fabyao/mod-test.git
- Run
cd mod-test
- Run
npm install
- Ensure MongoDB is waiting for connections
- Run
npm start
. This should get the application running on port 8080. If port 8080 is in use, please change the port number inserver/config/server.js
- The default URL will be http://localhost:8080
- To execute Angular unit tests, run
npm run angular-tests
. This will test getting the countries - To execute integration tests, run
npm test
. This will test the end point and persistence
Should you need to contact me for further details, please email me [email protected]
I look forward to seeing the feedback.