This project was bootstrapped with Create React App.
Sandbox app to play with GraphQL, Apollo Client and React. This client SPA leverages the Apollo Server in apollo-koa-graphql
The app also leverages my demo of oidc-provider for authentication.
Download this repo and install the dependencies
$ git clone https://github.com/dskyberg/kanban-graph.git
...
$ cd kanban-graph
$ npm i
Open a file in the root apollo-koa-graphql folder called .env
and add the following.
Then change what you want. Be sure the redirectUri values match what is registered
in your OIDC server.
REACT_APP_GRAPHQL_URI=http://localhost:9000/graphql
REACT_APP_AUTHORITY=http://localhost:3082
#REACT_APP_AUTHORITY=http://localhost:8080/auth/realms/myrealm
REACT_APP_CLIENT_ID=test_app
REACT_APP_REDIRECT_URI=http://localhost:3000/callback
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.