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

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
npm install npm 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 FREE per month.

No CC required.