dinhvantiep / react-native-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:JavaScript 100.0%