Skip to content

nejcrebernjak/next-keystone-embedded

Repository files navigation

Next.js SSG + Keystone.js Embedded

Live demo is available here.

Getting Started

Install dependencies:

npm i
# or
yarn

Run the development server:

Inside development mode you are able to preview the website aswell as edit the content.

npm run dev
# or
yarn dev

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

Build for production:

When building for production it will automatically generate static pages based on content that is inside database file.

npm run build
# or
yarn build

Editing content

Open http://localhost:8000 with your browser to see access Admin UI.

Note: You can edit the content through Admin UI only in development mode.

GraphQL

GraphQL is accessible on http://localhost:8000/api/graphql.

About

NextJS + KeystoneJS Embedded - SSG Example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published