Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wysher/datocms-react-recipes-blog-demo
https://github.com/wysher/datocms-react-recipes-blog-demo
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wysher/datocms-react-recipes-blog-demo
- Owner: wysher
- License: mit
- Created: 2021-01-24T06:16:51.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T06:17:57.000Z (almost 4 years ago)
- Last Synced: 2024-10-30T19:46:05.254Z (2 months ago)
- Language: JavaScript
- Size: 714 KB
- Stars: 0
- Watchers: 1
- 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.
[![Deploy with DatoCMS](https://dashboard.datocms.com/deploy/button.svg)](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:
`npm i && npm 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)