- .Net Core 3.1
- Start the authserver.
- Start the graphql server
- Use postman to genereate an accesstoken
- Paste token into .\src\Frontend\vue-poc\apollo.js
- run yarn serve for frontend
Using BananaCakePop add the Authorization header:
{
"Authorization" : "Bearer token-here"
}
Test queries:
query openHello { hello }
query authHello { privateHello}
Test mutation. Notice in the frontend that the openMutation is updated with the result
mutation openMutation {
doIt
}
mutation authMutation {
privateDoIt
}