Skip to content

Latest commit

 

History

History

chat



Graphlit Chat Logo

Graphlit Chat

Graphlit Chat Screen

New to Graphlit?

⚡️ Quick start

Requirements

  • Node.js 18.17 and above

Run locally

Clone the repository:

git clone [email protected]:graphlit/graphlit-samples.git
cd nextjs/chat

Install packages:

npm i

First, copy the .env.example file to .env and fill in the required environment variables:

  • GRAPHLIT_ORGANIZATION_ID
  • GRAPHLIT_ENVIRONMENT_ID
  • GRAPHLIT_JWT_SECRET
cp .env.example .env

Run the development server:

npm run dev

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

Deploy on Vercel

Deploy with Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.