Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

datocms/react-native-demo

Repository files navigation

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

Add an .env file containing the read-only API token of your DatoCMS site:

echo 'DATO_API_TOKEN=abc123' >> .env

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •