Skip to content

songsongsong97/loan-management-system-code-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Loan Management System

Setup and Run in Local Environment

Backend Flask API

cd backend
pip install pipenv
pipenv install
pipenv shell
python main.py

Frontend

cd frontend
npm install
npm run dev

API Routes

Run Pytest

cd backend
pipenv shell
pytest

Getting Balance Sheet for a Company

Please use the following combination to test.

[
    {
        "company":"ABC","accountingProvider:"Xero"
    },
    {
        "company":"XYZ","accountingProvider:"MYOB"
    }
]

To add more test cases, please modify backend/SHEET.json

Run Docker

docker-compose build
docker-compose up