Banks of Nepal
Purpose
This is developed to build API that provides the list of commercial banks in Nepal. The goal is to provide all the data such as savings account interest, interest rate, exchange rates, housing loan interest etc. You can follow the quick start guide to start building the API. At the moment, it just provides the list of commercial banks in Nepal. It is in development phase.
Contents
Quick start guide
Requirements
- If you don't already have it, install Postgresql
- If you are installing Postgres in Ubuntu follow this steps to get started
- Create a user and database
- If you don't already have it, install git
Download the source code
- Open up your favorite kind of console
- Navigate to the folder in which you want to store the source code
- Run
git clone https://github.com/ranabhat/banks-of-nepal-python.git
Starting development
- Open up the source code in your code editor (I recommend Visual Studio Code if you don't have a preference)
- In the root of the project directory create a virtualenv
mkdir banks-of-nepal-python
cd banks-of-nepal-python
python3 -m venv venv
- Activate the environment
. venv/bin/activate
- Install the packages required for the project
pip3 install -r requirements.txt
- Start migrating database
python3 manage.py db init
python3 manage.py db migrate
python3 manage.py db upgrade
- Start modifying the code to build your own application
- Run
FLASK_APP=app.py flask run
in console - Open your browser in the address printed to the console
- Modify the code with your editor
License
All of the code is licensed under the MIT license