Building a REST API is very easy and there are lots of tutorials online on how to do it. I’ll be adding this tutorial to that list. In this tutorial, we’ll be building a REST API with the Django REST framework and the entities in this tutorial will be in a many-to- many relationship.

I’ll explain a ‘many-to-many’ with a simple analogy; Let’s say you have a have two entities, authors and books, an author can write many books and a book can be written Lby many authors. Why REST API?

A REST API is a standard way to pass data within applications and these applications may consume data in anyway. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store