https://github.com/the-road-to-graphql/fullstack-apollo-react-boilerplate
💥A sophisticated Apollo in React boilerplate project.
https://github.com/the-road-to-graphql/fullstack-apollo-react-boilerplate
apollo-client apollo-server apollo-server-express apollographql authentication authorization boilerplate fullstack react react-apollo react-apollo-graphql reactjs starter-kit
Last synced: 12 days ago
JSON representation
💥A sophisticated Apollo in React boilerplate project.
- Host: GitHub
- URL: https://github.com/the-road-to-graphql/fullstack-apollo-react-boilerplate
- Owner: the-road-to-graphql
- License: mit
- Created: 2018-10-28T06:48:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T08:42:53.000Z (almost 5 years ago)
- Last Synced: 2025-04-01T15:10:21.468Z (about 1 month ago)
- Topics: apollo-client, apollo-server, apollo-server-express, apollographql, authentication, authorization, boilerplate, fullstack, react, react-apollo, react-apollo-graphql, reactjs, starter-kit
- Language: JavaScript
- Homepage: https://roadtoreact.com
- Size: 1.74 MB
- Stars: 145
- Watchers: 5
- Forks: 39
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# fullstack-apollo-react-boilerplate
[](https://travis-ci.org/the-road-to-graphql/fullstack-apollo-react-boilerplate) [](https://slack-the-road-to-learn-react.wieruch.com/) [](https://greenkeeper.io/)
A full-fledged Apollo Server with Apollo Client starter project with React and Express. [Read more about it in this tutorial to build it yourself](https://www.robinwieruch.de/graphql-apollo-server-tutorial/).
**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)
## 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]:the-road-to-graphql/fullstack-apollo-react-boilerplate.git`
* `cd fullstack-apollo-react-boilerplate`
* `npm install`
* `npm start`
* visit `http://localhost:3000`See Server Installation instructions in the other GitHub repository.
## Want to learn more about React + GraphQL + Apollo?
* Don't miss [upcoming Tutorials and Courses](https://www.getrevue.co/profile/rwieruch)
* Check out current [React Courses](https://roadtoreact.com)