Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal Next.js starter with Checkly monitoring, Vercel deployment checks, and a ready GitHub Actions workflow.

Astro landing page starter with gradient background, responsive hamburger/dropdown menu, and switchable floating/fullscreen headers.
The Next.js & Checkly Starter Template is a boilerplate repository from Checkly that pairs a minimal Next.js app on Vercel with automated browser and API checks that run in CI before and after deployment.
The template contains a simple Next.js application that fetches data from the /api/greetings endpoint and renders it on the landing page. It also includes Checkly checks in the __checks__ directory that verify the page loads and the API responds correctly, along with the Checkly CLI and GitHub Actions configuration needed to execute those checks in continuous integration. The project is hosted on GitHub under the Checkly organization and is designed to be a starting point for adding monitoring to a Vercel-hosted Next.js app.
/api/greetings endpoint that returns data displayed on the landing page, so you can immediately see how the frontend and backend interact.__checks__ — A __checks__ directory contains Playwright-based checks that test both the rendered page and the API endpoint, giving you real end-to-end coverage out of the box..github/workflows/checkly.yml triggers on Vercel deployment webhooks, runs the checks, posts a Markdown report as a GitHub Actions summary, and records test sessions in Checkly.VERCEL_AUTOMATION_BYPASS_SECRET and enable system environment variables so Checkly can access protected preview deployments.npx checkly login, npx checkly env add, npx checkly test --record, and npx checkly deploy to manage checks, test sessions, and monitors from the command line.Developers deploying Next.js applications on Vercel who want to add automated end-to-end testing around their deployment process. DevOps engineers will find the GitHub Actions workflow and Checkly CLI setup useful for creating a CI pipeline that prevents broken previews from reaching production. Teams already evaluating Checkly for synthetic monitoring or API testing can use this template to see how checks behave in a realistic Vercel workflow.
npx checkly deploy, giving you always-on uptime and API health monitoring.After cloning the repo and installing dependencies, you run npx checkly login to authenticate. Then you add the production URL as a PRODUCTION_URL environment variable and optionally a VERCEL_AUTOMATION_BYPASS_SECRET secret. Running npx checkly test --record executes the checks in __checks__ in the Checkly cloud and records a test session. When you're satisfied, npx checkly deploy pushes the checks as production monitors. In CI, the GitHub Actions workflow listens for Vercel deployment webhooks and runs the same checks against the preview URL.
Yes. The CLI requires you to log in with npx checkly login or sign up for an account before running checks in the cloud. However, you can inspect the checks locally with npx checkly test without an account.
Yes. The example uses GitHub Actions, but the Checkly docs include example configurations for Jenkins and GitLab CI, so you can swap the workflow file for your preferred platform.
Create a VERCEL_AUTOMATION_BYPASS_SECRET in Vercel Project Settings > Deployment Protection, and enable the "Automatically expose System Environment Variables" setting. The app will use the secret automatically when fetching from the /api/greetings endpoint.
__checks__ directory?The template includes one browser check that loads the landing page and one API check that verifies the /api/greetings endpoint responds correctly. Both are written using Checkly's Playwright-based test framework.
