Skip to content

jkhaui/GraphPress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

GraphPress: A GraphQL Boilerplate Using WordPress as a User Authentication System


This boilerplate has been slightly modified to integrate with an existing WordPress setup that has both the GraphQL and GraphQL JWT plugins installed. It works by using JWTs to authenticate users' login.

Requirements

Quickstart

  1. Git clone https://github.com/jkhaui/GraphPress
  2. Change the URLs in the index.js file. There are two URLs to change: 1) the graphQL endpoint (https://yourWPsite.com/graphql), and 2) the websockets URL (ws://yourWPsite.com/graphql).
  3. yarn install && yarn start

**Work in progress.. Working on a much larger boilerplate which authenticates users and queries large amounts of data from a GraphQL API.

About

Basic boilerplate to kickstart a React + Apollo GraphQL app, using JWTs from WordPress to authenticate users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published