Build an API from scratch with Python, Django, SQLite3

所在平台: Udemy

课程主页: https://www.udemy.com/course/build-an-api-from-scratch-with-python-django-sqlite3/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 从零开始用 Python、Django、SQLite3 构建 API **课程概述:** 本课程将带您学习如何利用 Python、Django 和 SQLite3 构建一个完整的 API(应用程序编程接口)。API 充当不同应用程序之间的桥梁,使它们能够相互通信。课程重点关注 API 的核心功能:创建 (Create)、读取 (Read)、更新 (Update) 和删除 (Delete) 资源。 **您将学到:** * 创建和激活 Python 虚拟环境 * 安装 Django 框架 * 安装 Django REST Framework * 创建新的 Django 项目和应用程序 * 在 Django 中注册应用程序 * 创建和运行数据库迁移 * 创建 Django 数据模型 * 定义数据模型并将其迁移至 MySQL(尽管课程标题提及 SQLite3,但这里提到 MySQL,可能课程内容会涵盖数据库迁移的灵活性) * 创建和应用新的数据库迁移 * 创建序列化器 (Serializer) 类 * 创建视图 (Views) * 将视图映射到 URL * 创建模型对象 * 使用 CRUD 操作测试 API * 利用 Django REST Framework 处理 HTTP 请求 * 通过 Postman 创建和测试与 API 的 CRUD 操作 **技术栈:** * Python * Django * Django REST Framework * SQLite3 (也提及 MySQL 迁移)

课程评论(0条)

课程详情

API stands for Application Programming Interface.An API is a software intermediary that allows two applications to talk to each other. In other words, an API is the messenger that delivers your request to the provider that you're requesting it from and then delivers the response back to you.When we are building APIs, we want our models to provide four basic types of functionality. The model must be able to Create, Read, Update,and Delete resources. In this course, we are going to build an API using the following technology:Python Django Django Rest Framework SQLite3What You Will Learn:How to Create and activate a virtual environmentHow to install DjangoHow to install Django REST FrameworkHow to Create a new Django ProjectHow to Create a new Django AppHow to register applications with DjangoHow to create and run MigrationsHow to Create a Django ModelHow to define Data Models and migrate it to MySQLHow to Create and apply a new migrationHow to Create a serializer classHow to Create viewsHow to Map views to URLsHow to Create Model ObjectsHow to test API with CRUD OperationsHow to use Django Rest Framework to process HTTP requestsHow to create CRUD operations interacting with API using Postman

课程标签

0人关注该课程

主题相关的课程