Many web projects have moved to the single-page application model. To use this model with Django, you build a project where Django is the back end accessed through a REST API. The Django Ninja library is a FastAPI-inspired tool kit for turning Django views into REST API endpoints with very little extra code. Along the way, you’ll be using curl
, a command-line tool that allows you to grab the contents of a web page.
If you’d like to quickly build API endpoints and learn the ways of the Ninja, you’re in the right place.
In this course, you’ll learn about:
- REST APIs
- Django Ninja
- URL arguments and query strings
- Serialization through
Schema
andModelSchema
classes - CRUD operations
- Authentication
- Error management
To get the most out of this course, you’ll need to have prior experience with the Django framework. You don’t need to be an expert, but you do need to understand the basics of views, models, and URL routes. If you need a refresher on these topics, check out:
- Manage Your To-Do Lists Using Python and Django (tutorial)
- Build a Personal Diary With Django and Python (tutorial)
- Get Started With Django Part 1: Build a Portfolio App (tutorial)
- Get Started With Django Part 1: Build a Portfolio App (video course)