An open API service indexing awesome lists of open source software.

https://github.com/adebsalert/flw-test


https://github.com/adebsalert/flw-test

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# FLW TEST

## Diagrams:
Flowchart for loan calculation
![UML flowchart for loan calcultion](images/flowchart.png)

Endpoint request sample diagram
![UML endpoint sample diagram](images/endpoint-sample.png)

## Running tests:
To run all test cases, run the command:
```bash
$ npm install && npm run test
```

## How to setup and run loan calculator locally:
Install all dependencies by running:
```bash
$ npm install
```

Build the app by running command:
```bash
$ npm run build-ts
```

Start the app by running:
```bash
$ npm run start
```

App will be listening on port 7007

## How to run string comparison function:
```bash
$ npx ts-node src/compareString.ts or npm run test
```