← Catalog

No. 093 · mobile

Expo API Routes

Server-side endpoints with EAS Hosting

Version 1.0.0 License MIT Format SKILL.md

Create API routes in Expo Router: server-side endpoints, middleware, authentication, and deployment to EAS Hosting.

When to use this skill

  • Creating an API route in Expo
  • Deploying to EAS Hosting
  • Adding middleware to API routes

Core concepts

This skill provides guidance on expo api routes best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.

Installation

curl -LO https://opencode-skills.example/downloads/mobile/expo-api-routes.zip
unzip expo-api-routes.zip -d ~/.config/opencode/skills/

Restart OpenCode — the skill loads automatically.

When it triggers

  • creating an API route in Expo
  • deploying to EAS Hosting
  • adding middleware to API routes