Backend API for Sunlight Protocol applications
This server provides authentication and protocol management APIs.
/api/register
Register a new user for a specific app
/api/login
Authenticate user and receive JWT token
/api/verify
Verify JWT token and get user info
/api/send-sunlight-protocol
Send personalized sunlight protocol via email
/api/admin/apps
Get all active apps (admin only)
/api/admin/apps
Add new app (admin only)
For complete API documentation and integration examples, see
FRONTEND_API_DOCS.md in the project repository.