Vercel starter module
Domains and setup
Maps project settings, custom domains, environment values, and deployment checks.
- Files
- 21
- Lines
- 674
- Languages
- Config + Markdown + TypeScript + JSON
Included files
This page lists paths and purposes, not source contents.
.env.example
Configuration required by this starter pack.
Config
10 lines
ADAPT.md
Give these instructions to the coding agent working in the buyer's Next.js project.
Markdown
95 lines
app/api/platform/account/route.ts
Mounts the portal module's account overview at /api/platform/account.
TypeScript
4 lines
app/api/platform/agent/route.ts
Mounts the narrow agent authorization handler at /api/platform/agent.
TypeScript
3 lines
app/api/platform/cron/rollup/route.ts
Mounts the secret-verified rollup cron handler at /api/platform/cron/rollup.
TypeScript
3 lines
app/api/platform/records/route.ts
Mounts the trusted checkout record handlers at /api/platform/records.
TypeScript
3 lines
app/api/platform/usage/route.ts
Mounts the repeat-safe usage handler at /api/platform/usage.
TypeScript
3 lines
app/api/platform/verify/route.ts
Mounts deployment checks at /api/platform/verify.
TypeScript
3 lines
app/api/platform/webhook/route.ts
Mounts the signed webhook handler at /api/platform/webhook.
TypeScript
3 lines
app/demo/route.ts
Serves a dependency-free page for testing records, usage, and deployment checks.
TypeScript
101 lines
OPERATIONS.md
The code handles normal requests.
Markdown
74 lines
package.json
Configuration required by this starter pack.
JSON
15 lines
proxy.ts
Replaces the deprecated middleware.ts convention in Next.js 16; a leftover middleware.ts is ignored at build time.
TypeScript
7 lines
README.md
This starter gives a Next.js App Router application secret-verified cron jobs, signed webhooks, trusted customer records, repeat-safe usage metering, CDN caching helpers, environment discipline, and deployment verification on Vercel.
Markdown
105 lines
src/setup/check-vercel-config.ts
Cross-checks the shipped vercel.json, proxy convention, and canonical catalog.
TypeScript
82 lines
src/setup/deployment-config.ts
Defines the canonical cron, environment, and route catalog for this starter.
TypeScript
40 lines
src/setup/seed-demo-session.ts
Generates a local bearer token for the demo identity helper.
TypeScript
18 lines
starter.json
Configuration required by this starter pack.
JSON
6 lines
TROUBLESHOOTING.md
Find the symptom and apply the fix first.
Markdown
75 lines
tsconfig.json
Configuration required by this starter pack.
JSON
15 lines
vercel.json
Configuration required by this starter pack.
JSON
9 lines
Questions about domains and setup
Is this a Vercel Next.js starter?
Yes. The pack is built around the deployment boundaries a Next.js app needs for environment values, middleware, scheduled jobs, caching, custom domains, and launch checks.