NewCode with Beto MCP

Build a Full-Stack Expo App with Prisma Accelerate (Deploy Fast with EAS Hosting)

Beto, May 11, 2025 · 7,375 views

Frontend, API routes, and a managed Postgres database, all living in one Expo project. That's what Expo Router unlocks now, and I put the whole stack together in the video: Prisma's managed Postgres with Accelerate for connection pooling, API routes for CRUD, and a deploy to EAS Hosting at the end.

I also cover the gotcha that trips everyone up: API routes run on Cloudflare workers, so files don't behave the way you expect.

What's inside

  • Spin up Prisma's managed Postgres with a generous free tier, no separate provider needed
  • Define a to-do schema and run migrations with
  • Write API routes with Expo Router's convention
  • Work around Cloudflare worker limits when reading environment variables
  • Switch web output to so API routes actually run
  • Deploy the whole thing with EAS Hosting

Resources

CourseReact Native course

Let's connect!

Had a win? Get featured on Code with Beto.Share your story