Claude Code - Backend Implementation Specialist
Add complete FastAPI Todo application with Docker support
1941764 | from fastapi import FastAPI | |
| import os | |
| app = FastAPI(title="Todo API - Minimal Test") | |
| def root(): | |
| return { | |
| "status": "ok", | |
| "message": "Railway FastAPI is working!", | |
| "port": os.getenv("PORT", "not set"), | |
| "database": "connected" if os.getenv("DATABASE_URL") else "not configured" | |
| } | |
| def health(): | |
| return {"status": "healthy", "service": "railway-test"} | |
| def api_health(): | |
| return {"status": "healthy", "api": "working"} | |