Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laurabeatris/graphcms-nextjs-demo

A demo of a Next.js application consuming data from GraphCMS
https://github.com/laurabeatris/graphcms-nextjs-demo

graphcms graphql headless-cms nextjs react ssg

Last synced: 17 days ago
JSON representation

A demo of a Next.js application consuming data from GraphCMS

Awesome Lists containing this project

README

        

# GraphCMS Next.js Demo

> Statically generating pages by fetching data from GraphCMS with Next.js

## Instructions

```
$ git clone https://github.com/LauraBeatris/graphcms-nextjs-demo.com.git
$ cd laurabeatris.com
$ cp .env.local.example .env.local
$ yarn
$ yarn dev
```

Define the environment variables by creating a .env.local file similar to [.env.local.example](https://github.com/LauraBeatris/graphcms-nextjs-demo/blob/master/.env.local.example)

## Content Modeling