yezyilomo / django-restql

Turn your API made with Django REST Framework(DRF) into a GraphQL like API.

Home Page:https://yezyilomo.github.io/django-restql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include playground in repo to be able to provide it in project urls

KevinHamonApp opened this issue · comments

Hello there,
I discovered the project recently, very nice work !

The playground you provide to test the package is excellent.
But I can't find it in the repo.

It would be great to be able to provide a url in our projects to allow front-end developers to test endpoints through this playground.
The playground should query the models from the django project to allow there selection on the interface.

What do you think about it ?
Best regards

Thank you @KevinHamonApp

Here are the links for repositories of the playground

I think your idea of having a playground that would allow querying any project as long as you provide the url is great, we can make some changes to allow that, we can also make some changes to allow developers to customize what models to query, we would also have to add a way to authenticate users for protected routes.

Hello, thanks for the repos !
That would be great indeed.
I think that it could self-discover the models through Django easily. So that we would have an automated Playground, close from what swagger would propose for rest api for example !