La-Dou's backend application built using FASTApi and integrated with MongoDB Atlas
- Clone the repository
- Create a virtual environment using the command
python -m venv .venv
, preferably using python 3.11 - Activate the virtual environment using the command
source .venv/bin/activate
- Upgrade pip using the command
pip install --upgrade pip
- Install the dependencies using the command
pip install -r requirements.txt
- Create a file named ".env" to store all Mongo related environment variables. The key value pairs can be found in the group description.
- Run the application using the command
uvicorn app.main:app --reload
- Open the browser and navigate to
http://localhost:8000/docs
for swagger UI. - Write code and make pull requests :)
- Clone the repository
- Create an issue on Jira or pick one from the backlog
- Create a new branch using the name specified in the issue
- The commits should follow the Jira commit message format specified in the issue
- Push the changes to the remote repository using the command
git push origin <branch-name>
- Create a pull request to the
main
branch - Wait for the pull request to be reviewed and merged
- See your changes live on the production server 😎