Welcome to the backend server repository for SendIT. This server handles database operations and provides endpoints for managing parcel orders, allocation and user management
git clone git@github.com:NB-Kamoni/global-learn-backend.git
cd global-learn-backend
git remote add upstream git@github.com:NB-Kamoni/global-learn-backend.git
git checkout -b <branch-name>
Make sure you have Python and pipenv installed. Use pipenv to install dependencies.
pipenv install
pipenv shell
cd server
export FLASK_APP=app.py
export FLASK_RUN_PORT=5555
flask db init
flask db migrate -m "Initial migrate"
flask db upgrade head
python seed.py
flask run
git add .
git commit -m ""
git push --set-upstream origin <branch name>
Go to the original repository on GitHub. Switch to the branch you just pushed (your branch). Create a pull request with your changes.