expo/skills · Official

expo-api-routes

All-time #619 Hot #3492 First seen Jan 19, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/expo/skills

Summary

  • API routes in Expo Router for server-side logic, secrets, and third-party integrations on EAS Hosting.
  • Create routes with +api.ts suffix in the app directory; export named functions for HTTP methods (GET, POST, PUT, DELETE) Handle query parameters, headers, JSON bodies, and dynamic route segments; add CORS headers for web clients Access server-side secrets via process.env ; set variables locally in .env or via eas env:create for production Deploy to EAS Hosting (Cloudflare Workers) with eas deploy ; use cloud databases (Turso, Supabase, PlanetScale) since filesystem and Node.js modules are unavailable Test locally with npx expo serve and curl; call routes from client with standard fetch to relative paths like /api/hello

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed Feb 17, 2026

This skill provides safe guidelines and code examples for implementing API routes in Expo Router. No security issues were detected.

snyk MEDIUM

Analyzed Feb 17, 2026

[MEDIUM] W011: Third-party content exposure detected (indirect prompt injection risk).

socket Score 0.9000 · 0 alerts

Analyzed Mar 18, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from expo/skills · top by installs.

npx skills add https://github.com/expo/skills

Browse all from expo/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 2.5K
License LICENSE
Default branch main
Open issues 21
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 37,900 installs