first commit

This commit is contained in:
2026-01-27 14:00:02 +01:00
commit 0b310be3b2
26 changed files with 4162 additions and 0 deletions

8
backend/app/main.py Normal file
View File

@@ -0,0 +1,8 @@
from fastapi import FastAPI
app = FastAPI(title="Auteur AI API")
@app.get("/")
async def root():
return {"message": "Auteur AI Backend is running"}

15
backend/app/worker.py Normal file
View File

@@ -0,0 +1,15 @@
from celery import Celery
import os
redis_url = os.getenv("REDIS_URL", "redis://redis:6379/0")
celery_app = Celery(
"worker",
broker=redis_url,
backend=redis_url
)
@celery_app.task
def test_task():
return "Worker is running"