🐻 REST APIs and Django REST Framework 🐻
Posted on Sep 12th, 2022
🗓️ Today’s Topics
- Show your finished Habit Tracker
- HTTP requests and responses
- REST APIs
- Django REST Framework (DRF)
🎯 Project: DRF Tutorial
Complete the official Django REST Framework tutorial. You may find it easier going if you follow the guide by Will Vincent.
Will Vincent uses the exact same code and steps but is much more beginner-friendly. He also uses pipenv
for the virtual environment like we do. Will’s tutorial stops short of the last step, step 6, in the official tutorial. If you finish step 5 and want to keep going, you can continue with the official tutorial, but this is not required.
You should complete the tutorial by tomorrow. This assignment link generates an empty repo that you can use to push your completed tutorial to.
⛔ Do not copy & paste the code. You’ll get a lot more out of the tutorial if you type it out yourself.
📖 Read | 📺 Watch | 🎧 Listen
- 🎧 Django Chat: Django REST Framework
- 📖 Web Applications 101
- 📖 How HTTP works and why it’s important - Free Code Camp
- 📖 A Beginner’s Guide to REST
- 📖 REST APIs: How They Work and What You Need to Know
- 📖 Django REST Framework: An Introduction - RealPython
ICYMI 👀
These links were posted last week, but you may not have gotten to them.
- 📖 RESTful APIs – read up through the “Standard Methods” subsection of the section on “Methods”. You can read more if you want to but it gets pretty deep.
- 📺 Safia Abdullah, You and Me Learn All About HTTP
- Web APIs Explained By Selling Goods From Your Farm