banidrum / loan-backend

A simple backend API to return loan rates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The project

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.

How to run the project

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.

How to run the tests

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

About

A simple backend API to return loan rates


Languages

Language:TypeScript 97.8%Language:JavaScript 2.1%Language:Shell 0.0%