https://github.com/zonayedpca/datocms-react-recipes-blog-demo
https://github.com/zonayedpca/datocms-react-recipes-blog-demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zonayedpca/datocms-react-recipes-blog-demo
- Owner: zonayedpca
- License: mit
- Created: 2020-09-21T13:43:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T13:44:42.000Z (almost 6 years ago)
- Last Synced: 2025-09-01T14:47:40.255Z (10 months ago)
- Language: JavaScript
- Size: 526 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DatoCMS example blog using React & GraphQL Request
## Set up your own
By clicking the following button you'll set up a project on DatoCMS with the schema and data that you need to run this example.
[](https://dashboard.datocms.com/deploy?repo=datocms/react-graphql-demo)
### How to start
Add a `.env` file with your read-only API token, so that React can access the information on your project:
`echo 'REACT_APP_DATO_API_TOKEN=abc123' >> .env`
then run:
`yarn && yarn start`
### Read more
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
GraphQL Request documentation can be found [here](https://github.com/prisma/graphql-request)