Build a RESTful API with Node. js, Express and PostgreSQL

所在平台: Udemy

课程主页: https://www.udemy.com/course/build-a-restful-api-with-nodejs-express-and-postgresql/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:使用 Node.js、Express 和 PostgreSQL 构建 RESTful API 课程概述:现代 web 开发者的重要技能之一是掌握如何与 API 协作,以方便不同软件系统之间的通信。在本课程中,您将学习如何在 Node.js 环境中创建自己的 RESTful API,该环境在 Express 服务器上运行,并利用 PostgreSQL 数据库。我们将使用 Postman 作为我们的 API 客户端与 API 服务器进行互动。 REST(表述性状态转移)是一组定义网络服务标准的架构风格,也是各种 web 服务开发中常用的通信方式。API(应用程序接口)是不同软件程序之间进行交流的接口。RESTful API 遵循 REST 架构风格和约束条件,其特征包括无状态、可扩展、可缓存,并具有统一接口。RESTful API 最常使用 HTTP 请求,其中四种最常见的 HTTP 方法是:GET、POST、PUT 和 DELETE,这些方法使开发者能够构建 CRUD 系统(创建、读取、更新和删除)。 REST 是一种利用 HTTP 请求在万维网上获取、更新、创建和删除数据的应用程序接口。REST 架构中主要的功能包括: - GET:提供对资源的只读访问 - PUT:创建新资源 - DELETE:移除某个资源 - POST:更新现有资源或创建新资源 在本课程中,您将学习以下内容: - 创建新的数据库用户账户 - 创建数据库和表 - 向数据库插入数据 - 构建 Express 服务器 - 从 Node 应用程序连接到 PostgreSQL 数据库 - 创建路由函数 - 将路由函数导出到主应用程序文件 - 为路由函数创建端点 - 使用 Postman 调用 Web API 并执行 CRUD 操作 此课程将帮助您构建现代应用程序所需的 API 技能,提升您的开发能力。

课程评论(0条)

课程详情

A useful and handy aspect of being a modern web developer is knowing how to work with APIs to facilitate communication between different software systems.In this course, you'll learn how to create your own RESTful API in a Node.js environment running on an Express server and utilizing a PostgreSQL database. We will use Postman as our API client to interact with the API Server.REST stands for Representational State Transfer and defines a set of standards for web services. It is an architectural style as well as an approach for communications purposes that is often used in various web services development.An API is an interface that different software programs use to communicate with each other.RESTful API is an API that conforms to the REST architectural style and constraints. REST systems are stateless, scalable,cacheable, and have a uniform interface.RESTful APIs most commonly utilize HTTP requests.Four of the most common HTTP methods are:GET, POST, PUT, and DELETE, which are the methods by which a developer can create a CRUD system - create, read, update, delete. REST it is an application program interface (API) that makes use of the HTTP requests to GET, PUT, POST and DELETE the data over WWW. (World Wide Web)The main functions used in any REST-based architecture are:GET − Provides read-only access to a resource.PUT − Creates a new resource.DELETE − Removes a resource.POST − Updates an existing resource or creates a new resource.You learn how to:Create a new database user accountCreate a database and a tableInsert data into databaseBuild an express serverConnect to PostgreSQL Database from Node applicationCreate Route FunctionsExport route functions into main application fileCreate endpoints for route functionsCall the web API with Postman and perform CRUD operations

课程标签

0人关注该课程

主题相关的课程