Personal API Gateway
API aggregation layer with multi-provider AI routing, Google OAuth management, and integrated services for calendar, email, and task management.
Challenge
Managing authentication and API calls across multiple services (Google Calendar, Gmail, Tasks, AI providers) was becoming repetitive across projects, with scattered credentials and inconsistent patterns.
Solution
Built a centralized FastAPI gateway with unified authentication via API keys
Implemented Google OAuth 2.0 with automatic token refresh for all Google services
Created OpenAI-compatible AI routing supporting Claude and OpenRouter providers
Deployed to GCP Cloud Run with secrets managed via Secret Manager
Result
Single API endpoint powers multiple projects including my personal automations platform, with clean separation between authentication logic and application code.