Content Calendar Analysis API
This API provides content calendar analysis using Google's Gemini AI. It includes:
- Lead capture with session management
- Content analysis storage with UUID tracking
- Swagger documentation for easy API exploration
- Lead Management: Capture and store user information with secure session cookies
- Content Analysis: Generate content calendars using Gemini AI
- Persistent Storage: Save analyses with unique identifiers
- API Documentation: Interactive Swagger UI for testing endpoints
POST /api/auth/register - Register a new lead
POST /api/auth/login - Login with existing credentials
GET /api/auth/session - Check current session status
POST /api/analysis/generate - Generate a new content calendar analysis
GET /api/analysis/:id - Retrieve a specific analysis by UUID
GET /api/analysis - List all analyses for the authenticated user
- Hono.js for API routing
- SQLite for database storage
- Google Gemini AI for content analysis
- Swagger UI for API documentation
- UUID for unique analysis identification
- Access the API documentation at
/api/docs
- Register a new lead to get a session cookie
- Generate content analyses using the provided endpoints