Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)