Django For APIs
Build web APIs with Python & Django - Book by William S. Vincent. This is a collection of notes from the book for easy learning!
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. The project is written primarily in Python, distributed under the MIT License license, first published in 2021. Key topics include: api, django, django-rest-framework, djangorestframework, python.
Django For APIs
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.
<img src="https://d33wubrfki0l68.cloudfront.net/3420239cabb6474c0b9b3e85688475825c8a5de0/c3295/assets/images/cover31.jpg" alt="Django For APIs" height="500" width="400"/>Find the book here
Here's a template for your upcoming DRF projects by William S. Vincent - https://github.com/wsvincent/drfx
Important Notes
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 |
| <a href="https://github.com/PragatiVerma18"><img src="https://avatars2.githubusercontent.com/u/42115530?s=460&u=a6f9c19a67bcc69645824c5dabf75b80f22a2dc0&v=4" width=150px height=150px /></a> |
|---|
| Pragati Verma |
Need help?
Feel free to contact me @ itispragativerma@gmail.com
Connect with me
<div align="center"> <a href="https://github.com/PragatiVerma18" target="_blank"> <img src=https://img.shields.io/badge/github-%2324292e.svg?&style=for-the-badge&logo=github&logoColor=white alt=github style="margin-bottom: 5px;" /> </a> <a href="https://twitter.com/pragati_verma18" target="_blank"> <img src=https://img.shields.io/badge/twitter-%2300acee.svg?&style=for-the-badge&logo=twitter&logoColor=white alt=twitter style="margin-bottom: 5px;" /> </a> <a href="https://codepen.com/pragativerma" target="_blank"> <img src=https://img.shields.io/badge/codepen-%23131417.svg?&style=for-the-badge&logo=codepen&logoColor=white alt=codepen style="margin-bottom: 5px;" /> </a> <a href="https://dev.to/pragativerma18" target="_blank"> <img src=https://img.shields.io/badge/dev.to-%2308090A.svg?&style=for-the-badge&logo=dev.to&logoColor=white alt=devto style="margin-bottom: 5px;" /> </a> <a href="https://stackoverflow.com/users/10364459" target="_blank"> <img src=https://img.shields.io/badge/stackoverflow-%23F28032.svg?&style=for-the-badge&logo=stackoverflow&logoColor=white alt=stackoverflow style="margin-bottom: 5px;" /> </a> <a href="https://linkedin.com/in/pragativerma18" target="_blank"> <img src=https://img.shields.io/badge/linkedin-%231E77B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white alt=linkedin style="margin-bottom: 5px;" /> </a> <a href="https://www.facebook.com/pragati.verma.56863221" target="_blank"> <img src=https://img.shields.io/badge/facebook-%232E87FB.svg?&style=for-the-badge&logo=facebook&logoColor=white alt=facebook style="margin-bottom: 5px;" /> </a> <a href="https://instagram.com/pragativerma18" target="_blank"> <img src=https://img.shields.io/badge/instagram-%23000000.svg?&style=for-the-badge&logo=instagram&logoColor=white alt=instagram style="margin-bottom: 5px;" /> </a> <a href="https://medium.com/@itispragativerma" target="_blank"> <img src=https://img.shields.io/badge/medium-%23292929.svg?&style=for-the-badge&logo=medium&logoColor=white alt=medium style="margin-bottom: 5px;" /> </a> </div>Contributors
Showing top 2 contributors by commit count.
