forked from syntaxbullet/aurorabot
- AGENTS.md: Update project description from web dashboard to REST API - README.md: Replace Web Dashboard section with REST API, update tech stack - docs/main.md: Refactor Web Dashboard section to REST API documentation - web/README.md: Rewrite from React setup to API endpoint documentation All React/UI references removed - web is now API-only
719 B
719 B
Aurora Web API
The web API provides a REST interface and WebSocket support for accessing Aurora bot data and configuration.
API Endpoints
GET /api/stats- Real-time bot statisticsGET /api/settings- Bot configurationGET /api/users- User dataGET /api/items- Item catalogGET /api/quests- Quest informationGET /api/transactions- Economy dataGET /api/health- Health check
WebSocket
Connect to /ws for real-time updates:
- Stats broadcasts every 5 seconds
- Event notifications via system bus
- PING/PONG heartbeat support
Development
The API runs automatically when you start the bot:
bun run dev
The API will be available at http://localhost:3000