/know-your-bank

A sample Heroku + Postgresql + Flask project to build REST APIs which fetches data for a bank.

Primary LanguageHTMLMIT LicenseMIT

know-your-bank

A sample Heroku + Postgresql + Flask project to build REST APIs to fetch branch details of a bank.

This app is hosted on heroku.

description

know-your-bank provides 2 REST endpoints.

  • Given an IFSC code, get the branch details
  • Given a bank name and city, gets details of all branches of the bank in the city

prerequisites

  • Python 3.7.3

execute

cd know-your-bank
mkvirtualenv -p python3 know-your-bank
pip install -r requirements.txt  
gunicorn know-your-bank:app

Open the url in your browser: ![Screenshot](docs/images/Screenshot 2019-07-21 23.00.51.png)

Search for branch details given an IFSC code SBIN0002146: ![Screenshot](docs/images/Screenshot 2019-07-21 22.52.05.png)

Search for branch details given bank name STATE BANK OF INDIA and city CANACONA: ![Screenshot](docs/images/Screenshot 2019-07-21 22.51.47.png)

references

Data taken from repository