- Clone the repository using
git clone <repo name>
- Run following commands
sudo apt-get install python3
sudo apt install python3-pip
python3 -m pip install --user virtualenv
python3 -m venv assessment
source assessment/bin/activate
pip install -r requirements.txt
python3 files.py
python3 app.py
- python 3 and above
- Flask 2.2.2
- openpyxl 3.0.10
- Postman
Follow download and installation process in https://www.postman.com/downloads/ Creation of free account is not necessary
- Create a new request
- Select request type as
POST
, add the url from the server (usuallyhttp://127.0.0.1:5000/add
) - Add input json as the
Body
of the request usingraw
as a selection - Press
SEND
{
"accountSummaries":
{
"accountNumber": "123123123",
"accountType": "Deposit",
"bankName": "sbi",
"IFSC": "sbin0000",
"status": "Active"
},
"profiles":
{
"name": "asdf",
"dob": "2345",
"mobile": "0000000000",
"address": "asdfasdf",
"email": "asdf@asdf.com",
"pan": "1231231231"
},
"transactions":
{
"type": "DEBIT",
"amount": "Deposit",
"txnDate": "23232323",
"narration": "asdfasdfadsfasd"
}
}