How jang-yoonsung/fastapi-translate-service works
Project type and purpose
• This is a backend microservice built with FastAPI for HTTP/REST endpoints and Celery for background task processing.
• The presence of Dockerfile and docker-compose.yml indicates containerized deployment.
File structure
• Top‐level files:
• Dockerfile – builds the FastAPI application image
• docker-compose.yml – orchestrates multiple services (app, broker, worker)
• requirements.txt – Python dependencies
• fastapi/ directory:
• main.py – entry point that instantiates the FastAPI app
• celery_config.py – Celery application setup (broker URL, backend, etc.)
• router/ – HTTP route definitions (router.py) and task definitions (tasks.py)
README insights
• Must infer architecture from code: FastAPI app + Celery workers + a message broker.