Skip to content

Latest commit

 

History

History

with-next

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

with-next

This example contains a reference implementation of @markprompt/react with Next.js, and featuring Algolia docs search.

Markprompt.JS.mp4

Getting Started

Create a .env.local file at the root of the project, and add the following:

NEXT_PUBLIC_MARKPROMPT_PROJECT_KEY=<MARKPROMPT_PROJECT_KEY>
NEXT_PUBLIC_ALGOLIA_API_KEY=<ALGOLIA_API_KEY>
NEXT_PUBLIC_ALGOLIA_APP_ID=<ALGOLIA_APP_ID>
NEXT_PUBLIC_ALGOLIA_INDEX_NAME=<ALGOLIA_INDEX_NAME>

Install dependencies and start the local dev server:

npm install
npm run dev

Open http://localhost:3000 and see the result.

Documentation

To use the Markprompt platform as is, please refer to the Markprompt documentation.

Community

Authors

This library is created by the team behind Markprompt (@markprompt).