Django: Django REST Framework Tutorial, Parts 4-6¶
Django Rest Framework provides a full-featured framework for creating RESTful APIs based on the Django models you create. These APIs can then be used to power applications written for mobile devices, Javascript apps in Angular or other MVC frameworks, or even “normal” web apps, replacing the more traditional “view”-based approach to CRUD operations.
To familiarize yourself with the concept, you’ll walk through this tutorial provided as part of the framework documentation.
Tasks¶
For this second assignment, please complete the last three sections of the tutorial:
Submitting Your Work¶
For your submission, please paste screenshots of both the JSON and HTML output of a variety of endpoints from your new api.
Use the comment feature in Canvas to submit comments, questions and concerns
Further Considerations¶
How might using a technology like this change your approach to the UI implementation of the Imager app? What aspects of the actions provided by Imager would be most easily replaced with API calls? Which would be more difficult to replace? How might your approach to the UI for Imager change based on using an API like this?