Hands-On RESTful Web Services with TypeScript 3: Design and develop scalable RESTful APIs for your applications
暫譯: 實作 TypeScript 3 的 RESTful 網路服務:設計與開發可擴展的 RESTful API 供您的應用程式使用

Biharck Muniz Araujo

  • 出版商: Packt Publishing
  • 出版日期: 2019-03-25
  • 售價: $1,830
  • 貴賓價: 9.5$1,739
  • 語言: 英文
  • 頁數: 470
  • 裝訂: Paperback
  • ISBN: 1789956277
  • ISBN-13: 9781789956276
  • 相關分類: Web APIJVM 語言JavaScriptTypeScript
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Key Features

  • Gain in-depth knowledge of OpenAPI and Swagger to build scalable web services
  • Explore a variety of test frameworks and test runners such as Stryker, Mocha, and Chai
  • Create a pipeline by Dockerizing your environment using Travis CI, Google Cloud Platform, and GitHub

Book Description

In the world of web development, leveraging data is the key to developing comprehensive applications, and RESTful APIs help you to achieve this systematically. This book will guide you in designing and developing web services with the power of TypeScript 3 and Node.js. You'll design REST APIs using best practices for request handling, validation, authentication, and authorization. You'll also understand how to enhance the capabilities of your APIs with ODMs, databases, models and views, as well as asynchronous callbacks. This book will guide you in securing your environment by testing your services and initiating test automation with different testing approaches. Furthermore, you'll get to grips with developing secure, testable, and more efficient code, and be able to scale and deploy TypeScript 3 and Node.js-powered RESTful APIs on cloud platforms such as the Google Cloud Platform. Finally, the book will help you explore microservices and give you an overview of what GraphQL can allow you to do.

By the end of this book, you will be able to use RESTful web services to create your APIs for mobile and web apps and other platforms.

What you will learn

  • Explore various methods to plan your services in a scalable way
  • Understand how to handle different request types and the response status code
  • Get to grips with securing web services
  • Delve into error handling and logging your web services for improved debugging
  • Uncover the microservices architecture and GraphQL
  • Create automated CI/CD pipelines for release and deployment strategies

Who this book is for

If you're a developer who has a basic understanding of REST concepts and want to learn how to design and develop RESTful APIs, this book is for you. Prior knowledge of TypeScript will help you make the most out of this book.

商品描述(中文翻譯)

**主要特點**

- 深入了解 OpenAPI 和 Swagger,以構建可擴展的網路服務
- 探索各種測試框架和測試執行器,如 Stryker、Mocha 和 Chai
- 通過使用 Travis CI、Google Cloud Platform 和 GitHub 將環境 Docker 化來創建管道

**書籍描述**

在網頁開發的世界中,利用數據是開發綜合應用程序的關鍵,而 RESTful API 幫助您系統性地實現這一目標。本書將指導您使用 TypeScript 3 和 Node.js 設計和開發網路服務。您將使用最佳實踐設計 REST API,處理請求、驗證、身份驗證和授權。您還將了解如何通過 ODM、數據庫、模型和視圖以及異步回調來增強 API 的功能。本書將指導您通過測試服務和啟動不同測試方法的測試自動化來保護您的環境。此外,您將掌握開發安全、可測試和更高效的代碼,並能夠在 Google Cloud Platform 等雲平台上擴展和部署基於 TypeScript 3 和 Node.js 的 RESTful API。最後,本書將幫助您探索微服務並概述 GraphQL 可以讓您實現的功能。

在本書結束時,您將能夠使用 RESTful 網路服務為移動和網頁應用程序及其他平台創建 API。

**您將學到的內容**

- 探索各種方法以可擴展的方式規劃您的服務
- 了解如何處理不同的請求類型和響應狀態碼
- 掌握保護網路服務的技巧
- 深入了解錯誤處理和記錄網路服務以改善除錯
- 揭示微服務架構和 GraphQL
- 創建自動化的 CI/CD 管道以進行發布和部署策略

**本書適合誰**

如果您是一位對 REST 概念有基本了解的開發者,並希望學習如何設計和開發 RESTful API,本書適合您。對 TypeScript 的先前知識將幫助您充分利用本書。

目錄大綱

Table of Contents

  1. Introduction to RESTful API Development
  2. Principles of Designing RESTful APIs
  3. Designing RESTful APIs with OpenAPI and Swagger
  4. Setting up Your Development Environment
  5. Building Your First API
  6. Handling Requests and Responses
  7. Formatting the API - Output
  8. Working with Databases and ORMs
  9. Securing Your API
  10. Error Handling and Logging
  11. Creating a CI/CD Pipeline for Your API
  12. Developing RESTful APIs with Microservices
  13. Flexible APIs with GraphQL

目錄大綱(中文翻譯)

Table of Contents


  1. Introduction to RESTful API Development

  2. Principles of Designing RESTful APIs

  3. Designing RESTful APIs with OpenAPI and Swagger

  4. Setting up Your Development Environment

  5. Building Your First API

  6. Handling Requests and Responses

  7. Formatting the API - Output

  8. Working with Databases and ORMs

  9. Securing Your API

  10. Error Handling and Logging

  11. Creating a CI/CD Pipeline for Your API

  12. Developing RESTful APIs with Microservices

  13. Flexible APIs with GraphQL