# Aether Chronicles — Backend FastAPI server for LLM integration, game state persistence, and world event generation. ## Setup ```bash python3 -m venv venv source venv/bin/activate pip install fastapi uvicorn ollama uvicorn main:app --reload --port 8000 ``` ## Endpoints - `GET /api/player` — Get player state - `POST /api/player/move` — Update player position - `GET /api/events/{map_id}` — Get active events for a map - `POST /api/llm/event` — Generate a new event via LLM - `POST /api/llm/dialogue` — Generate NPC dialogue via LLM