Back to Templates

Next.js Boilerplate

A simple Next.js app using Unkey to generate and verify API keys.

Written by
chronark
Framework
Next.js
Language
Typescript
A simple Next.js app using Unkey to generate and verify API keys.

Getting Started

  1. Go to unkey.dev and create a new API.
  2. Copy your workspace token and apiId to .env
  3. Install and run the example
1npm install
2npm run dev
  1. Open http://localhost:3000 with your browser to see the result.
  2. Click on the button to see the magic happen.

Deploy to Vercel

Protect your API.
Start today.

2500 verifications and 100K successful rate‑limited requests per month. No CC required.