https://github.com/nemanjam/apollo-boilerplate
Updated Robin Wieruch's fullstack React Apollo MongoDB boilerplate using hooks.
https://github.com/nemanjam/apollo-boilerplate
apollo boilerplate hooks mongodb react starter
Last synced: 4 months ago
JSON representation
Updated Robin Wieruch's fullstack React Apollo MongoDB boilerplate using hooks.
- Host: GitHub
- URL: https://github.com/nemanjam/apollo-boilerplate
- Owner: nemanjam
- Created: 2019-12-22T18:03:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T13:44:11.000Z (over 3 years ago)
- Last Synced: 2025-09-02T21:48:16.252Z (10 months ago)
- Topics: apollo, boilerplate, hooks, mongodb, react, starter
- Language: JavaScript
- Homepage:
- Size: 590 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fullstack Apollo React Hooks MongoDB 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/)
This is updated Robin Wieruch's fullstack boilerplate with hooks instead render props Apollo API and functional instead class components.
## Links to original repos
Client Applications:
- [React Client](https://github.com/the-road-to-graphql/fullstack-apollo-react-boilerplate)
Server Applications:
- [Node.js with Express + MongoDB](https://github.com/the-road-to-graphql/fullstack-apollo-express-mongodb-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
- 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 git@github.com:nemanjam/apollo-boilerplate.git`
- `cd apollo-boilerplate/client`
- `cd apollo-boilerplate/server`
- `npm install`
- `npm start`
- visit `http://localhost:3000` for client and `http://localhost:8000` for server