meteor-apollo-accounts-example icon indicating copy to clipboard operation
meteor-apollo-accounts-example copied to clipboard

Example app implementing https://github.com/nicolaslopezj/meteor-apollo-accounts

Meteor Apollo Accounts Example

Example app implementing Meteor Apollo Accounts.
Blog posts: Authenticate Meteor accounts with the Apollo GraphQL API, Reactive subscriptions with Apollo and React

Installation

Features

  • Real-time subscriptions implementation (not Meteor)
  • Authenticate users with Meteor accounts
  • Social login with Facebook and Google
  • Restrict access on the grapqhl API
  • Use existing Apollo schema
  • Redirect user on client
  • Update user profile
  • Register new users
  • Email verification
  • Password change
  • Password reset

Screenshot

Todo

  • [x] Password change component
  • [x] Social login with Facebook and Google
  • [x] Add email Verification message to App
  • [x] Do a lot of stuff
  • [x] CRUD view for posts
  • [x] Reactity for posts insert, delete and update
  • [x] Update pubsup with callback
  • [x] Redirect on route when user not logged in
  • [x] Create user with profile directly
  • [ ] Only send subscriptions if user is logged in
  • [ ] Run Websocket server on the same port

Source

Apollo Example GitHunt server

Apollo Example GitHunt React client

GraphQL Subscriptions in Apollo Client

A proposal for GraphQL subscriptions

GraphQL Subscriptions in Apollo Client