Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

jkettmann/authentication-with-graphql-passport-and-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was set up using create-react-app. All client side code resides in the /src folder. You can find the code for the GraphQL API inside the /api directory.

Articles of this series

Introduction and implementation of dummy API

Authentication with credentials using GraphQL and Passport

Facebook login with GraphQL and Passport

Apollo-React app for authentication with GraphQL and Passport (coming soon)

How to install and run the project

To install and start the app run following commands.

npm install
npm start

Visit http://localhost:4000/graphql. You will see the Apollo playground. There you can run following query and mutation

query {
  currentUser {
    id
    firstName
    lastName
    email
  }
}

mutation {
  logout
}

About

This demo project belongs to a series of articles on authentication with GraphQL and Passport.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published