- Python-3.x
- pip
- pipenv
- mysql (or any database software, DB connection URI must match though)
git clone https://github.com/toritsejuFO/final-year-project-backend-api.gitcd final-year-project-backend-apigit checkout devorgit checkout -b {new-branch}pipenv shell && pipenv installcp .env.sample .env(edit appropriately)flask run
Create a database that matches the one in your .env file. Run the commands below that in order to create and populate DB
flask db initflask db upgradeflask semesterflask levelflask schoolsflask departmentsflask courses
flask test
./utils/create_postman_collections.sh
This will create a postman_collection file that you can now import to postman app to test the API