Building APIs with Django and Django Rest Framework by Shabda Raaj - PDF free download eBook

3.7 from 684 reviews

Building APIs with Django and DRF will get you started with building APIs in no time. This book takes over where the Django...

Looking for building apis with django django pdf to download for free? Use our file search system, download the e-book for computer, smartphone or online reading.

Search & Download

Details of Building APIs with Django and Django Rest Framework

Exact title of the book
Building APIs with Django and Django Rest Framework
Book author
Shabda Raaj
Book edition
Kindle Edition
ISBN (ASIN)
B07G1FF23Q
Published
July 29th 2018 by Agiliq Info Solutions India Pvt Ltd
File size (in PDF)
about 300 kB
Building APIs with Django and Django Rest Framework

Some brief overview of book

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.