🔄 How everything connects
1. The frontend / admin panel sends a request to the API (e.g., "create a task to post an image").
2. The request goes to the router, where it is validated via schemas.
3. The application logic is executed through services.
4. If something heavy needs to be done (e.g., uploading an image to Pinterest), the service sends a task to Celery, which is processed by a worker in the background.
5. The result is stored in the database.
6. The frontend can fetch the task status or statistics through another route.
7
5
1
1August 28, 2025 2.2K 3