This demo illustrates how to authenticate an application using Apollo client against a server running Apollo server version 4.
This monorepo includes both the server and React Native client code.
Both client and server code use TypeScript.
The code is mostly the Apollo demo code with authentication added.
$ cd server
$ npm install
$ npm start
The r-n app is built with expo. Running it assumes you are familiar with r-n development using expo. For iOS you'll also need at least the xcode command line tools.
$ cd reactNativeApp
$ npm install
$ npm run ios
Substitute npm run android
if you're running on an android emulator.