|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/graphql-learn-basic-graphql-with-node-js-and-mongodb/
课程评论:没有评论
课程名称:GraphQL:使用 Node JS 和 MongoDB 学习基本的 GraphQL 课程概述:在本课程中,您将学习如何使用 Node.js、Express 和 MongoDB 通过 Apollo Server 构建 GraphQL API。 GraphQL 作为一种新兴的 API 查询语言,越来越多的团队选择其作为替代(或与)REST 的解决方案。通过 GraphQL,客户端能够灵活地请求服务器数据,避免了数据获取不足或过量获取的问题,并且可以在一次请求中获取多个资源。 本课程将通过实际示例以全栈 JavaScript 应用程序的形式,教您如何在服务端和客户端应用中使用 GraphQL。您将接触到 GraphQL 的主要概念,如架构定义、查询、变更和订阅,以及如何处理身份验证/授权和客户端缓存等常见需求。 示例中将使用 Node.js 和 Express 构建后台的 Apollo Server,并在前端使用 React 的 Apollo Client。然而,课程的重点不仅仅在于特定的 GraphQL 库,而是为了让您对相关概念有更全面的理解。例如,在介绍 Apollo Client 之前,我们将先学习如何手动编写一个简单的客户端,以确保您理解 GraphQL 的 HTTP 格式。 课程内容包括: - GraphQL 介绍 - GraphQL 核心概念 - 项目创建 - 第一个 GraphQL 演示 - MongoDB 完整课程 - Mongoose 模型 - 类型定义 - 解析器 - GraphQL 服务器 - GraphQL 插入、更新和删除操作 本课程假设您具备良好的现代 JavaScript 知识,最好还有一些 Node.js/Express 和 React 的基础。
You will learn the following things in the course:Learn GraphQL API with Apollo Server in Node.js, Express, and MongoDB.More and more teams are choosing GraphQL instead of (or along with) REST for their web APIs. GraphQL queries give clients great flexibility in the way they request data from the server, preventing issues such as fetching or under fetching of data, and allowing multiple resources to be retrieved in a single request.In this course, you'll learn how to use GraphQL both on the server-side and in client applications through practical examples in the form of full-stack JavaScript applications. You will be introduced to all the main GraphQL concepts like schema definition, Queries, Mutations, and Subscriptions, as well as to solutions to common requirements such as handling authentication/authorization and client-side caching.The examples use Apollo Server with Node.js and Express on the backend and Apollo Client with React on the frontend. The aim however is not just to cover specific GraphQL libraries, but to give you a more general understanding of the underlying concepts. For instance, Apollo Client is only introduced after learning how to write a simple client "by hand" to make sure you understand GraphQL over HTTP format.Introduction to GraphQLCore Concept of GraphQLProject CreationFirst GraphQL DemoMongoDB complete courseMongoose ModelTypeDefResolversGraphQL ServerGraphQL InsertGraphQL UpdateGraphQL DeleteThis course assumes a good knowledge of modern JavaScript, and ideally some familiarity with Node.js/Express and React.