freeleaps-service-hub/apps/devops
zhenyus 2dd73c0734 refactor: enhance lazy initialization and error handling in message consumer startup
Updated the message consumer initialization to occur lazily during the startup event, improving application startup performance. Added detailed logging for service initialization, registration, and error handling to enhance traceability and robustness during startup and shutdown processes.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 03:01:11 +08:00
..
app refactor: enhance lazy initialization and error handling in message consumer startup 2025-08-03 03:01:11 +08:00
tests Add message queue registration in application bootstrap and update dependencies 2025-07-30 10:50:22 +08:00
Dockerfile refactor: streamline DevOpsReconcileRequest by removing redundant code 2025-08-01 09:06:42 +08:00
README.md Add implementation of devops service 2025-05-18 22:23:44 -07:00
requirements.txt fix: ensure consistent formatting in requirements.txt by removing redundant line 2025-08-01 09:12:19 +08: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