Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is even with datocms:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
components
constants
navigation
screens
utilities
.babelrc
.env_sample
.eslintrc
.flowconfig
.gitignore
.watchmanconfig
App.js
App.test.js
README.md
app.json
fragmentTypes.json
importSchema.js
package.json
yarn.lock

README.md

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

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

You can’t perform that action at this time.