A simple project to simulate loan rates depending on the person credit score.
The solution was made in TypeScript, using Express as the framework. Jest was used for unit testing and Supertest for integration testing.
The Node.js version is 14.
First, install all the dependencies with npm install
You can run npm run build
to build the project and then you can run npm run start
to start it.
To run the all the tests, run npm run test
To run only the unit tests, run npm run test:unit
To run only the integration tests, run npm run test:integration
To run the tests with coverage, run npm run test:ci