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

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

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

In .env.local set following variables:

NEXT_PUBLIC_SERVER_URL="http://localhost:1490/fetch"
NEXT_PUBLIC_CONTEMBER_PUBLIC_TOKEN="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
NEXT_PUBLIC_CONTEMBER_CONTENT_URL="http://localhost:1481/content/ukrajina/live"
NEXT_PUBLIC_CONTEMBER_TENANT_URL="http://localhost:1481/tenant"
CONTEMBER_ADMIN_TOKEN="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
CONTEMBER_LOGIN_TOKEN="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
CONTEMBER_PROJECT_SLUG="ukrajina"

Public token can be generated in Contember using command npm run contember tenant:create-api-key (role: public).