The objective of this project is to design simple APIs for a banking application.
- Python 3.x (or Python 2.x)
- Virtual Environment
- pip
- Flask, SQLAlchemy
- Install either of the python versions (I used Python3.7)
- Create new virtual environment using
python -m venv venv - Activate the virtual environment using
venv\Scripts\activate - Install Requirements Files using
pip install -r requirements.txt - Change user, password, server, database in
config.py - After Succesfully Connecting to the Database perform migration by running following series of Commands:
flask db initflask db migrateflask db upgrade- Run the application by running app file using
python app.pyor useflask run
- model.py: Consists Schema definition as per database requirements.
- app.py : Functionality to Open a new bank account, get account information, depositing and withdrawing from the account are written here
- App development Still in Progress...