Graphql implementation example to show some of the features of Graphene-Django.
This is an example of a courses platform allowing to create users and courses and to enroll into a desired course.
- Create students with profile
- Create courses
- Enroll students to courses
Requires Docker installed To run the project execute:
cd djcourses
docker-compose up
After run this command open your navigator at http://localhost:8080/graphiql
to get into the Graphql query environment.
Query
query{
hello
}
Result
{
"data": {
"hello": "world"
}
}