Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/morenoh149/fullstack-apollo-react-native-boilerplate

RN app that allows sign in and sign up against graphql backend. See compatible backend starter projects.
https://github.com/morenoh149/fullstack-apollo-react-native-boilerplate

apollo-client expo graphql react-native starter-project

Last synced: 4 months ago
JSON representation

RN app that allows sign in and sign up against graphql backend. See compatible backend starter projects.

Awesome Lists containing this project

README

        

# fullstack-apollo-react-native-boilerplate

A React Native app with Apollo Client. This is a minimal react native app. It uses expo and is unejected. It uses react navigation and has the minimal code needed to demonstrate log in, sign up and log out.

**Family of universal fullstack repositories:**

Server Applications:

* [Node.js with Express + MongoDB](https://github.com/the-road-to-graphql/fullstack-apollo-express-mongodb-boilerplate)
* [Node.js with Express + PostgreSQL](https://github.com/the-road-to-graphql/fullstack-apollo-express-postgresql-boilerplate)

Client Applications:

* [React Client](https://github.com/the-road-to-graphql/fullstack-apollo-react-boilerplate)
* [React Native Client](https://github.com/morenoh149/fullstack-apollo-react-native-boilerplate)

## Features of Client + Server

* React (create-react-app) with Apollo Client
* Queries, Mutations, Subscriptions
* Node.js with Express and Apollo Server
* cursor-based Pagination
* PostgreSQL Database with Sequelize or MongoDB
* entities: users, messages
* Authentication
* powered by JWT and local storage
* Sign Up, Sign In, Sign Out
* Authorization
* protected endpoint (e.g. verify valid session)
* protected resolvers (e.g. e.g. session-based, role-based)
* protected routes (e.g. session-based, role-based)
* performance optimizations
* example of using Facebook's dataloader
* E2E testing

## Installation

* `git clone [email protected]:morenoh149/fullstack-apollo-react-native-boilerplate.git`
* `cd fullstack-apollo-react-native-boilerplate`
* `npm install`
* `npm start`
* launch emulator from metro bundler

See Server Installation instructions in the other GitHub repository.