freeleaps-service-hub/apps/devops
2025-06-23 16:46:49 +08:00
..
app Merge branch 'feature/dax/devops-svc' of https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-service-hub into feature/dax/devops-svc 2025-06-23 16:46:49 +08:00
tests Add implementation of devops service 2025-05-18 22:23:44 -07:00
README.md Add implementation of devops service 2025-05-18 22:23:44 -07:00
requirements.txt Add check_application_logs 2025-06-16 23:18:26 -07:00

This is a template backend service based on fastapi + mongodb app

To start development in local, go to the root directory of the project YOUR_WORKSPACE_PATH/helloworld/

docker compose -f app/scripts/mongodb/docker-compose.yml up -d

Then run the app

uvicorn app.main:app --reload

In case a new dependency is added, run the following command to update the requirements.txt file

# optional: if you have not installed pipreqs
pip3 install pipreqs

# generate requirements.txt
pipreqs . --force