Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GraphQL API for opendor.me data #126

Open
Gummibeer opened this issue Aug 21, 2021 · 0 comments
Open

Add GraphQL API for opendor.me data #126

Gummibeer opened this issue Aug 21, 2021 · 0 comments

Comments

@Gummibeer
Copy link
Member

Gummibeer commented Aug 21, 2021

Right now there's no public API for opendor.me data - but there could/should be one.

A GraphQL API would be pretty cool and powerful as the user would be able to retrieve whatever they need without having us to adjust the API.

It should be possible to authenticate as an user or organization - so we would need a new table api_keys that has a morph relationship to user or organization model. The API should be read-only for the moment and be limited to the basic and fully public information. It should also only return the data for the authenticated user for the moment but use policies and to limit access so that we could extend it easily.

https://lighthouse-php.com/

https://github.com/rebing/graphql-laravel

https://twitter.com/enunomaduro/status/1429210254827565065
https://github.com/miniaturebase/pest-plugin-graphql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant