Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1019 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 1019 Bytes

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-reactnative

Setup the Project

Clone this repository

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

Set DatoCMS API token env variable

Edit the .env_sample file and add your DATO_API_KEY, then rename it to .env You can find your DatoCMS API token in the Admin area > API tokens section:

DatoCMS API token

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.