Skip to content

soutot/react-native-simple-fullstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

react-native-simple-fullstack

React Native + GraphQL + Koa + Relay Modern

Simple fullstack example

Simple app using React Native + React Navigation + Relay Modern + GraphQL + Koa

Due the purpose of just applying the most basic concepts, no UI was implemented.

Running

Backend

Build an endpoint to your database and add it to both files:

For this example I used Mlab but you can use a local DB

yarn

yarn create-schemas-dir

yarn generate-schema

yarn seed

yarn start

Frontend

yarn

yarn get-schema

yarn relay --watch

react-native run-ios

react-native run-android

If everything works as expected, you should see a list of sessions. You can see the details of a single session, add a new session or edit an existing one

From this point you can move further and experiment greater things like refetchContainer, connections, subscriptions, pagination, cache, and so on

About

React Native + GraphQL + Koa + Relay Modern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published