Skip to content

A test project to create an api gateway-like server app that uses graphql to front end a collection of microservices

License

Notifications You must be signed in to change notification settings

rdooh/graphql-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-gateway

A test project to create an api gateway-like server app that uses graphql to front end a collection of microservices

Sooo...

I'm going to try a few things here, to see if I can prototype something akin to an api gateway. I'm aiming to keep this light and generic - not so much because I anticipate it being used by anyone, but so as to keep distractions to a minimum.

  • pass initial request to some trivial/mock authentication + authorization handler that returns some permissions
  • dynamically generate the GraphQL type schema based on the permissions
  • return modified introspection results
  • route queries to trivial underlying services

Progress

Just popped a basic example from Clay Allsopp - that's all for the moment.

Run it

node dist/app.js should do the trick

And Then....

We'll see where we're at.

About

A test project to create an api gateway-like server app that uses graphql to front end a collection of microservices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published