Skip to content
Clean boilerplate for TypeScript + Expo (React Native) + React Apollo (GraphQL)
TypeScript JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src update to SDK33 (preview) Jun 2, 2019
.eslintrc.json
.gitignore initial commit Oct 22, 2018
App.ts move from tslint to eslint Jan 24, 2019
LICENSE initial commit Oct 22, 2018
README.md follow SDK33 (still includes some hacks) Jun 6, 2019
app.json follow SDK33 (still includes some hacks) Jun 6, 2019
babel.config.js update to SDK33 (preview) Jun 2, 2019
package-lock.json follow SDK33 (still includes some hacks) Jun 6, 2019
package.json follow SDK33 (still includes some hacks) Jun 6, 2019
tsconfig.json follow SDK33 (still includes some hacks) Jun 6, 2019

README.md

typescript-expo-apollo-boilerplate

Clean boilerplate for TypeScript + Expo (React Native) + React Apollo (GraphQL)

What is this?

This is example base code to use React Native and GraphQL. We use Expo to ease building the environment. We use React Apollo to use GraphQL. We use TypeScript instead of JavaScript for static type checking.

Features

  • minimal code without extra configs
  • no-any/noImplicitAny configs for TypeScript
  • client-side mocking for developing before building a GraphQL server

How to run

npm install -g expo-cli
git clone https://github.com/dai-shi/typescript-expo-apollo-boilerplate.git
cd typescript-expo-apollo-boilerplate
npm install
npm start

Blogs

You can’t perform that action at this time.