Skip to content

PascalSenn/HC_Subscription_Auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HC_Subscription_Auth

Development Environment

  • .Net Core 3.1

Setup

  1. Start the authserver.
  2. Start the graphql server
  3. Use postman to genereate an accesstoken
  4. Paste token into .\src\Frontend\vue-poc\apollo.js
  5. run yarn serve for frontend

How to test

GraphQL queries for testing

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 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 68.3%
  • HTML 14.3%
  • PowerShell 7.1%
  • Vue 5.6%
  • TypeScript 2.2%
  • CSS 2.0%
  • JavaScript 0.5%