Course Includes
- Recorded Lessons: 51
- Recorded Hours: 5
- Duration: 1 month 20 days (Avg)
Course Features
- Access on mobile
- TDP Assessment Test
Top Skills Covered
Overview
Course Description
The "Build REST APIs with Python, Django REST Framework, PostgreSQL, and Postman API Testing" course is a comprehensive and practical learning experience that will equip you with the skills and tools needed to create robust and scalable RESTful APIs using Python, Django REST Framework, PostgreSQL, and Postman for API testing.
In today's interconnected world, REST APIs play a crucial role in enabling communication between different applications and services. This course is designed to provide you with a solid foundation in building REST APIs using Python, leveraging the power of Django REST Framework, and utilizing PostgreSQL as the database backend. Additionally, you will learn how to test your APIs effectively using Postman.
Throughout the course, you will start with the fundamentals and gradually progress to more advanced topics. You will learn how to set up a development environment with Python, Django, and PostgreSQL, and configure Django REST Framework for API development. The course will cover key concepts such as resource modeling, serialization, JSON Parsing, and JSON Response on HTTP Requests while emphasizing the importance of data integrity and security.
By combining Python, Django REST Framework, and PostgreSQL, you will gain hands-on experience in implementing CRUD operations (Create, Read, Update, Delete) on your API resources, managing relationships between models, and optimizing database queries for improved performance. You will also learn to create GET, POST, PUT, and DELETE methods for your serializer model classes to enhance the functionality and scalability of your APIs.
Furthermore, the course will introduce you to Postman, a popular API testing tool. You will learn how to create comprehensive test suites to verify the functionality and behavior of your APIs. From sending requests and inspecting responses on workflows, you will become proficient in using Postman to ensure the quality and reliability of your APIs.
Real-world examples and practical exercises will be integrated into the course, allowing you to apply your newfound knowledge in a hands-on manner. You will develop API endpoints, write APIs and tests, and handle error scenarios.
Key Topics Covered:
- Setting up a development environment with Python, Django, PostgreSQL, and Postman
- Introduction to RESTful architecture and API design principles
- Resource modeling and serialization using Django models and serializers
- Applying Cross-Origin-Resource-Sharing (CORS)
- Implementing CRUD operations on API resources with Django REST Framework
- Managing relationships between models and serialization
- Advanced API features: making a unique record to update
- Optimizing database queries with PostgreSQL
- Introduction to Postman and API testing fundamentals
- Creating comprehensive test suites in Postman
- Handling common error scenarios and debugging
- Writing a Base path setting to save External images or docs on API requests
- Postman API to save external Images to local project
By the end of this course, you will have the skills and confidence to develop robust REST APIs using Python, Django REST Framework, PostgreSQL, and effectively test them using Postman. Whether you're a beginner seeking to enter the world of API development or an experienced developer looking to enhance your skills, this course will provide you with the knowledge and hands-on practice necessary to build high-quality and thoroughly tested backend web APIs.
What you'll learn
- Learn how to build a REST API web service with the Django REST framework
- Set up a development environment with Python, Django, PostgreSQL, and Postman
- Understand the fundamentals of RESTful architecture and API design principles
- Model resources and perform serialization using Django models and serializers
- Implement CRUD operations (Create, Read, Update, Delete) on API resources using Django REST Framework
- Handle relationships between models and serialization for complex API structures
- Explore advanced API features such as CORS for improved functionality and scalability
- Writing API Endpoints like GET, POST, PUT, and DELETE methods
- Optimize database queries using PostgreSQL for enhanced performance
- Use Postman for comprehensive API testing, including request sending, response inspection, and API Calling
- REST API testing workflows in Postman for efficient and reliable testing
- Handle common error scenarios and debug your APIs effectively
- Sending Images or Docs to upload using Django REST APIs
Requirements
- Fundamentals of Programming (optional)
- You will learn everything you need to know REST API
- Fundamentals of Basic SQL Queries (optional)
Course Content
51 Lessons | 5:00 Total hours
Getting Started
-
Introduction
00:03:53 -
Getting started on Windows, macOS, and Linux
00:01:23 -
How to ask great questions
00:01:44 -
FAQs
00:01:31
Setting up a Python development
-
Installing Python step by step
00:07:03 -
Installing PyCharm IDE (code editor) for development
00:12:20 -
Creating the first project
00:08:31 -
Write and Run Hello World program
00:05:01 -
Command line basics
00:06:08 -
Installing and accessing pip command
00:09:58 -
Postman API platform installation
00:08:08
Django setting up the REST API project
-
Introduction to web framework and Django
00:04:11 -
Installing Django and Django rest framework
00:05:02 -
Django(CORS) installation
00:02:56 -
Creating Django project
00:05:25 -
Understanding Django architecture and structured
00:08:17 -
Creating a Django application
00:02:58 -
Understanding Django models, views, and URL routings
00:02:49 -
Registering the app to project
00:07:13
Building Django Models for API with PostgreSQL
-
Introduction to PostgreSQL and its advantages for web applications
00:04:15 -
Installing PostgreSQL and setting up
00:13:09 -
pgAdmin Secure login and create database
00:07:17 -
Building Django models for the REST API data structures
00:08:09
Django API Model ORM-Migrations to PostgreSQL
-
Installing the psycopg2 module for DB connection
00:06:29 -
Database (DB) connection - Django to PostgreSQL
00:03:50 -
Creating and applying ORM-migrations for the PostgreSQL database
00:06:04 -
SQL Querying and adding Sample Data into tables
00:07:06
Creating Serializers for Complex Datatypes
-
Serializers in Django REST API
00:02:54 -
Serializing data with Django REST Framework serializers
00:07:06
Writing REST API Endpoints
-
Import required modules to write API methods
00:06:29 -
Implementing API GET method using REST Framework
00:10:16 -
Implementing API POST method using REST Framework
00:07:19 -
Implementing API PUT method using REST Framework
00:08:23 -
Implementing API DELETE method using REST Framework
00:06:43 -
Validating data with Django REST Framework validators
00:03:37 -
Handling API requests and responses
00:04:24
URLs Mapping on Application and Project
-
Writing App URLs and path setting
00:07:23 -
Write Project URLs and include app
00:03:13 -
Exercise and Solution for it
00:02:33
POSTMAN for Testing API Methods
-
Exploring Postman API app
00:03:50 -
API GET method testing
00:03:19 -
API POST method testing
00:03:01 -
API PUT method testing
00:03:28 -
API DELETE method testing
00:03:41
Project: Creating REST APIs Quickly
-
Creating REST API methods at one snap
00:07:48 -
Writing URLs on an app for access APIs
00:03:57 -
POSTMAN API testing
00:13:16
Building Image Upload REST API Service
-
Base image save path setting on project
00:05:35 -
Write the API method to save image
00:03:49 -
Adding urls path and static settings to save image
00:03:38 -
Postman API to test and save image
00:04:30
About the instructor
Sekhar Metla
Instructor
45 Courses
13+ Lesson
1260 Students enrolled
Sekhar Metla is a software engineer with 15 years of professional experience. He is the author of several best-selling TeacherDada courses with more than 26,000+ students in 192 countries. He has a Master of Science in Computer Applications as Software Engineering and is also Microsoft Certified Professional. His students describe him as passionate, pragmatic, and motivational in his teaching.