What problem does it solve?
This Skill solves the problem of integrating emulators directly into a Next.js application, enabling local API testing, CI/CD workflows, and same-origin OAuth for Vercel preview deployments.
Core Features & Use Cases
- Next.js Integration: Embed emulators within a Next.js app for local API testing.
- OAuth Configuration: Set up same-origin OAuth for Vercel preview deployments.
- Route Handler Creation: Create catch-all route handlers for emulator traffic.
- Auth.js/NextAuth Configuration: Configure Auth.js/NextAuth with embedded emulators.
- Persistence: Add persistence to embedded emulators for state across restarts.
- Use Case: Use this Skill to create a local API endpoint for testing your Next.js application without relying on external services.
Quick Start
Install the required packages and configure your Next.js app to use the @emulators/adapter-next package.