Srbija Posted August 10, 2018 #1 Posted August 10, 2018 Building APIs with Django and Django Rest Framework by Shabda Raaj English | 29 July 2018 | ASIN: B07G1FF23Q | 79 Pages | EPUB | 515.56 KB Building APIs with Django and DRF will get you started with building APIs in no time. This book takes over where the Django tutorials stop. In the Django tutorials, you built a regular Django polls app. We will rebuild an API for a similar app. In the chapters to come, we will build a REST(ish) api with authorization, rate limiting, first with pure Django and then with DRF. We will cover testing, continuous integration, documentation tools and API collaboration tools. Chapters: Introductions -Who is this book for? -How to read this book? Setup, Models and Admin -Creating a project -Database setup -Creating models -Activating models A simple API with pure Django - The endpoints and the URLS - Connecting urls to the views - Writing the views - Using the API - Why do we need DRF? Serializing and Deserializing Data - Serialization and Deserialization - Creating Serializers - The PollSerializer in detail - Using the PollSerializer Views and Generic Views - Creating Views with APIView - Using DRF generic views to simplify code - More generic views - Next Steps More views and viewsets - A better URL structure - Changing the views - Introducing Viewsets and Routers -Choosing the base class to use - Next steps Access Control - Creating a user - Authentication scheme setup - The login API - Fine grained access control - Next steps: Testing and Continuous Integeration - Creating Test Requests - Testing APIs with authentication - Using APIClient - .post and create - Continuous integration with CircleCI - Setting up CircleCI - Writing circle.yml file Hidden Content Give reaction to this post to see the hidden content. Hidden Content Give reaction to this post to see the hidden content.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now