booster
booster copied to clipboard
Allow accessing GraphQL client in local provider
Blocked until local provider is in working state
Perhaps some more issues, but these essentially
- [x] #227
- [x] #318
- [x] #317
- [ ] #315
- [ ] #314
Description
Many systems provide a graphic client in order to try the GraphQL queries/mutations on it without having to download Postman, or whatever client.
There is Altair GraphQL which is a web client for GraphQL that can be easily integrated into the local provider express server by using altair-express-middleware.
To integrate it into the /graphql-client, one would write some code like this into the infrastructure package:
import { altairExpress } from 'altair-express-middleware';
server.use('/graphql-client', altairExpress({
endpointURL: '/graphql',
subscriptionsEndpoint: `ws://localhost:4000/graphql`,
}));
It would give us some screen like this:

@NickSeagull can I take this?
If I'm not mistaken, the local provider is still missing some GraphQL features in order to be fully usable (subscriptions for sure). So I guess this task depends on finishing first the GraphQL integration.
@dantehemerson I'm currently working out the local provider, I would wait first :)