Django for APIs is a project-based guide to building modern APIs with Django & Django REST Framework. It is suitable for beginners who have never built an API before as well as professional programmers looking for a fast-paced introduction to Django fundamentals and best practices.
Find the book here
Here's a template for your upcoming DRF projects by William S. Vincent - https://github.com/wsvincent/drfx
These are important notes and code snippets from the book that help in extending any existing Django website into web API with minimal effort, covering everything from scratch to hosting and API documentation.
Topic | Content |
---|---|
Web APIs | Intro to HTTP, IP/TCP |
Django Rest Framework | DRF with Serializers, CORS & Permissions |
User Authentication | Types of User Authentication Methods |
Token Authentication | How to implement Token Authentication in DRF? |
Viewsets and Routers | What are Viewsets and Routers? |
Best Practices In REST | Best Practices for API Design |
Cookies vs LocalStorage | Differences in Cookies & Local Storage |
Pragati Verma |
Need help? Feel free to contact me @ [email protected]