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

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.

GraphQL Request documentation can be found here