Bellfalasch / gem-nextjs

Next.JS front-end for G.E.M. (the event manager).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js template using Enonic as headless CMS and back-end

This is repo is based on a Next.js project based on create-next-app. Additionally, it includes the boilerplate and integration code needed to use Enonic as a headless CMS back-end for your Next.js sites.

Usage and tutorial

For a detailed instructions on using this template, visit: https://developer.enonic.com/docs/next.xp

Demo

For a live demo of the integration, follow the TLDR; instructions in the Tutorial above.

Local Development Prerequisites

In order to authenticate frontend with backend, some tokens are needed. For local development, copy the .env.example-file and name it .env. Fill out the variables in it. Use the tutorial for some guidance. This file must never be added to git. Keep the .example-file.

Enonic XP

Requires Enonic XP to run as it serves the data headless to this app. The repo internal-gem-backend contains the backend parts for this app to work.

About

Next.JS front-end for G.E.M. (the event manager).

License:Apache License 2.0


Languages

Language:TypeScript 85.3%Language:CSS 11.2%Language:JavaScript 3.5%