This skill provides specialized knowledge for building full-stack applications with Expo Router, focusing on the creation and management of API routes using the +api.ts suffix. It streamlines the development of server-side logic—such as handling secrets, database operations, and webhooks—while ensuring compatibility with the EAS Hosting environment (Cloudflare Workers). Developers can leverage this skill to implement standardized request handling, CORS configuration, and environment variable management within their mobile and web projects without exposing sensitive data to the client.
주요 기능
01Deployment instructions for EAS Hosting and Cloudflare Workers runtime
02Best practices for CORS, error handling, and request validation
0337,718 GitHub stars
04Implementation patterns for all HTTP methods including dynamic routing
05Secure environment variable management for server-side secrets
06Standardized file structure guidance for Expo Router API routes (+api.ts)
사용 사례
01Setting up webhook listeners for external callbacks from GitHub, Stripe, or Clerk
02Implementing server-side validation and direct database operations for mobile applications
03Creating secure proxy endpoints to hide third-party API keys for services like OpenAI or Stripe