Building APIs with Django and Django Framework PDF Downlaod

Building APIs with Django and Django Framework begins where the Django “Surveys” instructional exercise stops and takes you through building the application of the survey, yet this time utilizing APIs. You will gain proficiency with the essentials of Django Rest Framework including serialization, sees, conventional perspectives, view sets, testing, access control. You will likewise find out regarding API documentation utilizing strut and rail.

Building APIs with Django and Django Framework

Who is this book for?

On the off chance that you have completed the Django “Surveys” instructional exercise, and need to master utilizing DRF to assemble APIs, this book is ideal for you. This book accepts a little information on Django and Python, which you ought to have assembled assuming you have completed the “Survey” tutorial. No current information on DRF is expected.

Also Read:- Hacking Guide for Beginners (Hacking With Python) PDF Notes

How to read this book?

The sections are intended to be perused altogether. Assuming you have existing information on certain parts, you can rapidly go
through that part, yet I strongly suggest perusing them all together as every section expands on the past.

Also Read:- Python Book Learn Python 3 the Hard Way

Tabel of Content

2 Setup, Models and Admin 5
2.1 Creating a project
2.2 Database setup
2.3 Creating models
2.4 Activating models

3 A simple API with pure Django 9
3.1 The endpoints and the URLS
3.2 Connecting urls to the views
3.3 Writing the views
3.4 Using the API
3.5 Why do we need DRF?

4 Serializing and Deserializing Data 13
4.1 Serialization and Deserialization
4.2 Creating Serializers
4.3 The PollSerializer in detail
4.4 Using the PollSerializer

5 Views and Generic Views 17
5.1 Creating Views with APIView
5.2 Using DRF generic views to simplify code
5.3 More generic views
5.4 Next Steps

6 More views and viewsets 25
6.1 A better URL structure
6.2 Changing the views
6.3 Introducing Viewsets and Routers
6.4 Choosing the base class to use
6.5 Next steps

7 Access Control 31

7.1 Creating a user
7.2 Authentication scheme setup
7.3 The login API
7.4 Fine grained access control
7.5 Next steps:

8 Testing and Continuous Integeration 37
8.1 Creating Test Requests
8.2 Testing APIs with authentication
8.3 Using APIClient
8.4 .post and create
8.5 Continuous Integration with CircleCI
8.6 Setting up CircleCI
8.7 Writing circle configuration file

9 Appendix 45
9.1 Testing and Using API with Postman
9.2 Documenting APIs (with Swagger and more)

Building APIs with Django and Django Framework PDF Download

#django #python #djangounchained #programming #javascript #quentintarantino #coding #programmer #java #tarantino #html #leonardodicaprio #php #pythonprogramming #css #machinelearning #webdevelopment #djan #github #pulpfiction #developer #code #djanim #korkun #jamiefoxx #killbill #pythoncode #technology #gence #bhfyp

About the Author

Leave a Reply

Your email address will not be published. Required fields are marked *

You may also like these