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: 3 months ago
JSON representation
A demo of a Next.js application consuming data from GraphCMS
- Host: GitHub
- URL: https://github.com/laurabeatris/graphcms-nextjs-demo
- Owner: LauraBeatris
- Created: 2021-01-28T14:58:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T23:42:54.000Z (over 5 years ago)
- Last Synced: 2025-02-13T23:14:40.943Z (over 1 year ago)
- Topics: graphcms, graphql, headless-cms, nextjs, react, ssg
- Language: JavaScript
- Homepage: https://demo-1-git-master.laurabeatriserafim.vercel.app
- Size: 227 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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