Skip to content

This demo shows how to use Farspeak (farspeak/farspeak-js) with Next.js server components.

Notifications You must be signed in to change notification settings

farspeak/nextjs-example

Repository files navigation

Farspeak demo

This demo shows how to use Farspeak (farspeak/farspeak-js) with Next.js server components.

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Create an app in the dashboard.

Prepare env vars:

const { FARSPEAK_APP, FARSPEAK_ENV, FARSPEAK_BACKEND_TOKEN } = process.env;

Or in shell:

export FARSPEAK_APP=
export FARSPEAK_ENV=
export FARSPEAK_BACKEND_TOKEN=

Install dependencies:

npm install

Next, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

About

This demo shows how to use Farspeak (farspeak/farspeak-js) with Next.js server components.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published