This repository contains two side‑by‑side Next.js samples that integrate Nylas Scheduler using the same, minimal UI:
- app-router/ — Next.js App Router
- page-router/ — Next.js Pages Router
Both examples are functionally identical and do not share code.
Home
Scheduler Editor
Scheduling Page
Each implementation includes its own README with setup steps, routes, and usage notes. Start in the folder you want to run:
- App Router
cd app-router
npm install
npm run dev- Pages Router
cd page-router
npm install
npm run devEnvironment variables are read from .env.local (App Router) or .env.development (Pages Router). See each README.
- Node.js 20.x or higher
- npm or pnpm
MIT


