This is a repository with my first API with Python and Django Rest Framework.
This API allows all the following methods:
-
GET - All heroes
-
GET - A hero by id
-
POST - Create a new hero
-
PATCH - Edit a hero (partially)
-
PUT - Edit a hero (whole)
-
DELETE - A hero by id
This is the collection that I use to test it on Postman.
/application In this folder I included all my application files.
/apihero Here you will find all the configuration regarding my hero API. Models, Serializers, Views, ...
/project Her you will find all the configuration of my Django project. Settings, URLs configuration, ...