Building a GraphQL API with Python: A Practical Tutorial
Learn to build a GraphQL API with Python, Django and Graphene, step by step. Same task project from our REST tutorial — now compare both approaches!
GraphQL vs REST: When to Choose Each and Why It Matters
Should you use REST or GraphQL? We go back to 2012 to understand why Facebook created GraphQL, compare both approaches side by side, look at famous public APIs that use each one, and finish with clear rules for when to choose REST, when to choose GraphQL, and the books to master both.
Building a RESTful API with Python: Creating a Simple Task Management
Let’s put REST into practice! In this tutorial, we build a RESTful API with Python, Django, and Django REST Framework: a simple task manager where each task has a title, a description, and a status. Step by step, we create the model, serializer, viewset, and routes, and we test everything with Swagger UI.