Boost My AgentGet Boost OS
Clerk

Clerk starter module

Setup

Maps Clerk keys, middleware, redirect URLs, and application settings into your Next.js app.

Files
13
Lines
580
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

    27 lines

  • ADAPT.md

    Give these instructions to the coding agent working in the buyer's project.

    Markdown

    108 lines

  • app/account/route.ts

    A working protected page; Clerk, not the browser, decides who may see it.

    TypeScript

    105 lines

  • app/api/clerk/verify/route.ts

    GET /api/clerk/verify reports whether the Clerk starter is configured.

    TypeScript

    10 lines

  • app/api/clerk/webhook/route.ts

    POST /api/clerk/webhook verifies and processes Clerk webhook deliveries.

    TypeScript

    10 lines

  • app/api/session/logout/route.ts

    POST /api/session/logout revokes this browser's Clerk session and returns to sign-in.

    TypeScript

    10 lines

  • app/signin/route.ts

    Loads Clerk's zero-dependency sign-in surface for a working starter page.

    TypeScript

    71 lines

  • OPERATIONS.md

    The human moments.

    Markdown

    49 lines

  • package.json

    Configuration required by this starter pack.

    JSON

    18 lines

  • README.md

    This starter gives an application Clerk-hosted browser sign-in backed by server-verified sessions, account state and roles kept in sync between Clerk and your own records, repeat-safe webhook processing, run-once background work, app emails, and a readable verification route.

    Markdown

    93 lines

  • starter.json

    Configuration required by this starter pack.

    JSON

    6 lines

  • TROUBLESHOOTING.md

    Symptom first, fix first, cause second.

    Markdown

    56 lines

  • tsconfig.json

    Configuration required by this starter pack.

    JSON

    17 lines

Questions about setup

Is this a Clerk Next.js starter?

Yes. The pack is built for Next.js apps that need browser sign-in, server-verified sessions, protected routes, user events, organizations, roles, and setup in one connected system.