Skip to content

Repository files navigation

Spur logo

Monocle Next.js Example

A simple Next.js example to get you started with Monocle.


Getting Started

  1. Sign up for an account.

  2. Navigate to the Monocle tab and create a new Application.

  3. Set the following environment variables in a .env.local file located at the root.

MONOCLE_SECRET_KEY=<YOUR SECRET KEY>
NEXT_PUBLIC_MONOCLE_PUBLISHABLE_KEY=<YOUR PUBLISHABLE KEY>

Running

Install dependencies:

npm install

Run the development server:

npm run dev

Open http://localhost:3000 in your browser to see the result.

About

A simple Monocle Next.js example using the app router

Topics

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages