Mô tả

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.

learn what is Generative AI for future learning


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 backend 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.

Bạn sẽ học được gì

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

learn what is Generative AI for future learning

Yêu cầu

  • Fundamentals of Programming (optional)
  • You will learn everything you need to know REST API
  • Fundamentals of Basic SQL Queries (optional)

Nội dung khoá học

11 sections

Introduction

5 lectures
Introduction
03:53
Getting started on Windows, macOS, and Linux
01:23
How to ask great questions
01:44
FAQs
01:31
Learn What is Generative AI / Gen AI
14:06

Setting up a Python development

7 lectures
Installing Python step by step
07:03
Installing PyCharm IDE (code editor) for development
12:20
Creating the first project
08:31
Write and Run Hello World program
05:01
Command line basics
06:08
Installing and accessing pip command
09:58
Postman API platform installation
08:08

Django setting up the REST API project

8 lectures
Introduction to web framework and Django
04:11
Installing Django and Djangorestframework
05:02
Django(CORS) installation
02:56
Creating Django project
05:25
Understanding Django architecture and structured
08:17
Creating a Django application
02:58
Understanding Django models, views, and URL routings
02:49
Registering the app to project
07:13

Building Django Models for API with PostgreSQL

4 lectures
Introduction to PostgreSQL and its advantages for web applications
04:15
Installing PostgreSQL and setting up
13:09
pgAdmin Secure login and create database
07:17
Building Django models for the REST API data structures
08:09

Django API Model ORM-Migrations to PostgreSQL

4 lectures
Installing the psycopg2 module for DB connection
06:29
Database (DB) connection - Django to PostgreSQL
03:50
Creating and applying ORM-migrations for the PostgreSQL database
07:06
SQL Querying and adding Sample Data into tables
06:04

Creating Serializers for Complex Datatypes

2 lectures
Serializers in Django REST API
02:54
Serializing data with Django REST Framework serializers
07:06

Writing REST API Endpoints

7 lectures
Import required modules to write API methods
06:29
Implementing API GET method using REST Framework
10:16
Implementing API POST method using REST Framework
07:19
Implementing API PUT method using REST Framework
08:23
Implementing API DELETE method using REST Framework
06:43
Validating data with Django REST Framework validators
03:37
Handling API requests and responses
04:24

URLs Mapping on Application and Project

3 lectures
Writing App URLs and path setting
07:23
Write Project URLs and include app
03:13
Exercise and Solution for it
02:33

POSTMAN for Testing API Methods

5 lectures
Exploring Postman API app
03:50
API GET method testing
03:19
API POST method testing
03:01
API PUT method testing
03:28
API DELETE method testing
03:41

Project: Creating REST APIs Quickly

3 lectures
Creating REST API methods at one snap
07:48
Writing URLs on an app for access APIs
03:57
POSTMAN API testing
13:16

Building Image Upload REST API Service

4 lectures
Base image save path setting on project
05:35
Write the API method to save image
03:49
Adding urls path and static settings to save image
03:38
Postman API to test and save image
04:30

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.