Revelia Life API
Backend API for dream interpretation powered by Claude AI
Available Endpoints
🔐 Authentication
- POST /api/auth/register - Register a new user
- POST /api/auth/login - Login user
- POST /api/auth/logout - Logout user
- GET /api/auth/me - Get current user
💭 Dreams
- GET /api/dreams - List user dreams
- POST /api/dreams - Create a new dream
- GET /api/dreams/[id] - Get specific dream
- PATCH /api/dreams/[id] - Update dream
- DELETE /api/dreams/[id] - Delete dream
- POST /api/interpret - Interpret a dream
⭐ Astrology
- POST /api/astrology/onboarding - Submit birth data
- POST /api/astrology/generate-chart - Generate natal chart (Premium/Pro)
- GET /api/astrology/natal-chart - Get natal chart
- GET /api/horoscope - Get horoscope (daily/weekly/monthly/yearly)
- POST /api/lucky-numbers/generate - Generate lucky numbers
- GET /api/lucky-numbers/current - Get current lucky numbers
👤 User
- GET /api/user/quota - Get user quota
Status
API is running and ready to accept requests.