git clone https://github.com/KWangechi/bank-codes-web-scrapper.git
This is UNNECESSARY
You don't need to do this as the json file (banks_info.json
) has already been generated and it contains additional information e.g icon, alias.
So this section is for those who want to try this out and also tweak it a bit
A virtual environment is necessary.
On Windows:
/venv/Scripts
: cd venv/Scripts
.\activate
pip install -r requirements.txt
On Linux:
sudo apt install pip
and arch based 'sudo pacman -Sy pip'python -m venv <name of virtual env>
source <name of virtual env>/bin/activate
pip install -r requirements.txt
Run python main.py
on the root folder and you'll have a banks_info.json
output file
NB. The file is not exhaustive as it only contains data scraped from the PDF file in the root project (Bank-and-Branches-July-2023v.pdf)
- The PDF file is obtained from Kenya Banks and Branches Information and the data is updated till 2023 (May need confirmation)
The frontend is written using the React framework
cd bank-info-fe
npm install
npm start
http://localhost:3000
Hooray! Application is now running