https://github.com/datocms/react-urql-demo
A demo project with DatoCMS and URQL
https://github.com/datocms/react-urql-demo
datocms react urql
Last synced: about 1 year ago
JSON representation
A demo project with DatoCMS and URQL
- Host: GitHub
- URL: https://github.com/datocms/react-urql-demo
- Owner: datocms
- License: mit
- Archived: true
- Created: 2019-07-16T14:26:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T14:32:05.000Z (over 3 years ago)
- Last Synced: 2024-11-01T19:36:29.353Z (over 1 year ago)
- Topics: datocms, react, urql
- Language: JavaScript
- Homepage: https://demo-datocms-react-urql.netlify.com/
- Size: 1.87 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⛔️DEPRECATED⛔️
# DatoCMS example blog using React & Urql
## 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-urql-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).
URQL documentation can be found [here](https://github.com/FormidableLabs/urql)