-
Clone the repo
-
Optional: create virtualenv
python3 -m venv venv
. venv/bin/activate
- Install the app and requirements
python setup.py install
- Run test server
main.py
The server is running on localhost:8080
POST /loans/
Request:
{
"loan_id": "string",
"name": "string"
}
Response:
201 CREATED
GET /loans/{id}/
Response:
{
"loan_id": "string",
"name": "string"
}