An open API service indexing awesome lists of open source software.

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

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.

[![Deploy with DatoCMS](https://dashboard.datocms.com/deploy/button.svg)](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)