Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork25
Examples of using PostGraphile with various servers and clients [WIP]
License
graphile/examples
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
🚨Temporarily unmaintained🚨 This repo is currently not maintained and is out of date - Please make sure that you update the dependancies in your copy of these examples. For an up to date example, see theGraphile Starter.We rely on sponsorship from the Graphile community to continue our work in Open Source. By donating to ourGitHub Sponsors or Patreon fund, you'll help us spend more time on Open Source, and this repo will be updated quicker. Thank you to all our sponsors 🙌
This repository will contain examples of using PostGraphile with different servers and clients.
To get started:
npm install -g yarnyarn./setup.sh# Now add GITHUB_KEY and GITHUB_SECRET to .env (see "Login via GitHub" below)yarn startThis will run the koa2 server and react client. You can access it athttp://localhost:8349/
It's recommended that you review the setup.sh script before executing it.
The first user account to log in will automatically be made an administrator.
To use social login you will need to create a GitHub application. This takes just a few seconds:
- Visithttps://github.com/settings/applications/new
- Enter name: GraphileDemo
- Enter homepage URL:http://localhost:8349
- Enter authorization callback URL:http://localhost:8349/auth/github/callback
- Press "Register Application"
- Copy the 'Client ID' and 'Client Secret' into
GITHUB_KEYandGITHUB_SECRETrespectively in the.envfile that was created bysetup.sh
Koa 2 only has "experimental" support in PostGraphile officially, but if youface any issues please file them against PostGraphile with full reproductioninstructions - we're trying to elevate Koa to full support status.
About
Examples of using PostGraphile with various servers and clients [WIP]
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors11
Uh oh!
There was an error while loading.Please reload this page.