Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

Latest commit

 

History

History
30 lines (16 loc) · 1.16 KB

README.md

File metadata and controls

30 lines (16 loc) · 1.16 KB

This app is a Demo app for using DatoCMS contents via GraphQL api on a React Native app.

This project was bootstrapped with Create React Native App.

Preview this App

You can preview this app on on your phone from this page on expo.io datocms-wmf

Setup the Project

Set up your schema on DatoCMS

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

Clone this repository

First colone this repo git clone https://github.com/datocms/react-native-demo.git

Set DatoCMS API token env variable

Edit the app.json file and add your API token in datoApiToken. You can find your DatoCMS API token in the Admin area > API tokens section.

Install dependencies and run

Just run yarn install on your cloned project's folder, when finished type yarn start to run your app in development mode.