Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/laurabeatris/graphcms-nextjs-demo
- Owner: LauraBeatris
- Created: 2021-01-28T14:58:40.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T23:42:54.000Z (almost 4 years ago)
- Last Synced: 2024-10-11T10:48:40.073Z (about 1 month 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