This skill provides comprehensive guidelines and implementation patterns for building API routes in Expo Router, enabling developers to handle server-side secrets, database operations, and third-party API proxies securely. It covers everything from basic HTTP method handling and dynamic routing to advanced concepts like authentication middleware, CORS configuration, and deploying to EAS Hosting's Cloudflare Workers runtime. By following these patterns, developers can offload heavy computation and sensitive logic from the mobile client to a scalable, edge-based infrastructure.
主要功能
01327 GitHub stars
02Dynamic routing and request validation patterns using Web APIs
03Optimized deployment workflows for EAS Hosting and Cloudflare Workers
04Edge-compatible database integration patterns for serverless environments
05Secure server-side secret management with environment variables
06Standardized HTTP method handling for GET, POST, PUT, and DELETE
使用场景
01Proxying external AI or payment APIs to protect sensitive keys from the client
02Performing server-side database operations and data validation for mobile apps
03Creating secure webhook endpoints for third-party services like Stripe or GitHub