Skip to main content

Django Coding Tasks

You have at most 72 hours to complete the following challenge.

Fantasy Football XI API

Create a fantasy fooballer's API application using DRF.

Requirements

Level 1

  1. Create two models Footballer and Club.

    Footballer should have a first name, nick name, last name, date of birth, position, number, value and club.

    The Club should have name, country and division.

  2. Create views for both models that perform CRUD operations i.e Create, Read, Update, Delete.

  3. Make the urls for the views you created.

Level 2

  1. (OPTIONAL) Add documentation using drf spectacular

This assignment will help you practice implementing a simple API using DRF, and additionally, adding documentation.