Scientific Library of Tomsk State University

   E-catalog        

Normal view MARC view

Hands-On RESTful Web Services with TypeScript 3 Design and Develop Scalable RESTful APIs for Your Applications.

By: Araújo, Biharck MunizMaterial type: TextTextPublication details: Birmingham Packt Publishing Ltd, 2019Description: 1 online resource (455 pages)ISBN: 1789955017; 9781789955019Subject(s): Web services | TypeScript (Computer program language) | Application program interfaces (Computer software) | Application software -- Development | Application program interfaces (Computer software) | Application software -- Development | TypeScript (Computer program language) | Web servicesGenre/Form: EBSCO eBooks | Electronic books. DDC classification: 006.76 LOC classification: TK5105.88813Online resources: EBSCOhost
Contents:
Cover; Title Page; Copyright and Credits; Dedication; About Packt; Foreword; Contributors; Table of Contents; Preface; Section 1: Unraveling API Design; Chapter 1: Introduction to RESTful API Development; Technical requirements; What is REST?; REST architectural styles; Uniform interface; Resource-based; The manipulation of resources using representations; Self-descriptive messages; HATEOAS; Stateless; Cacheable; Client-server architecture; A layered system; Code on demand; HTTP methods for RESTful services; Summary; Questions; Further reading; Chapter 2: Principles of Designing RESTful APIs
Technical requirementsOrganizing API endpoints; Resource-based APIs; Experience-based APIs; Capability-based APIs; Working with large datasets; Pagination; Sorting; Filtering; Naming conventions; Versioning; Including the version in the URL; Versioning in the subdomain; Versioning on media types; Recommendation; HTTP status codes; 2xx -- success; 3xx -- redirection; 4xx -- client error; 5xx -- server error; Summary; Questions; Further reading; Chapter 3: Designing RESTful APIs with OpenAPI and Swagger; Technical requirements; API-first concepts; The OpenAPI Specification; Format
Document structureData types; Design maturity and implementation; Level 0 -- The Swamp of POX; Level 1 -- Resources; Level 2 -- HTTP Verbs; Level 3 -- Hypermedia Controls; Swagger tooling; Swagger Editor; Swagger Codegen; The Swagger UI; Summary; Questions; Further reading; Section 2: Developing RESTful Web Services; Chapter 4: Setting Up Your Development Environment; Technical requirements; Installing various web servers; Node.js; npm; Testing Node.js and npm; Express.js; Express installation; First app with Express.js; TypeScript installation; Visual Studio Code; Code Linters; TSLint; Prettier
Testing suitesMocha and Chai; Stryker; Debugging; Building tasks for coding; Summary; Questions; Further reading; Chapter 5: Building Your First API; Technical requirements; Serving the app; Initial configurations and file structure; Defining and controlling basic routes; Testing with Postman; Summary; Questions; Further reading; Chapter 6: Handling Requests and Responses; Technical requirements; Creating resource URIs; Creating models; Creating tests for the missing routes; Implementing controllers; Configuring the remaining routes ; Running the application
Query strings, data filtering, and paginationQuery strings and data filtering; Pagination; Summary; Questions; Further reading; Chapter 7: Formatting the API -- Output; Technical requirements; Content negotiation; Data serialization; Hypertext Application Language; Summary; Questions; Further reading; Section 3: Enhancing RESTful Web Services; Chapter 8: Working with Databases and ODMs; Technical requirements; Using MongoDB; Installing MongoDB; MongoDB with Docker; Installing Docker ; Running MongoDB on Docker; Robomongo ; Setting up order-api with Mongo; Configuring Mongoose
Summary: With RESTful strategy, you can create APIs for every medium such as mobile apps, web apps, and so on. In the development world, serving data is the key ingredient to developing comprehensive applications. This book will help you achieve this with the help of RESTful APIs.
Tags from this library: No tags from this library for this title. Log in to add tags.
No physical items for this record

Print version record.

Cover; Title Page; Copyright and Credits; Dedication; About Packt; Foreword; Contributors; Table of Contents; Preface; Section 1: Unraveling API Design; Chapter 1: Introduction to RESTful API Development; Technical requirements; What is REST?; REST architectural styles; Uniform interface; Resource-based; The manipulation of resources using representations; Self-descriptive messages; HATEOAS; Stateless; Cacheable; Client-server architecture; A layered system; Code on demand; HTTP methods for RESTful services; Summary; Questions; Further reading; Chapter 2: Principles of Designing RESTful APIs

Technical requirementsOrganizing API endpoints; Resource-based APIs; Experience-based APIs; Capability-based APIs; Working with large datasets; Pagination; Sorting; Filtering; Naming conventions; Versioning; Including the version in the URL; Versioning in the subdomain; Versioning on media types; Recommendation; HTTP status codes; 2xx -- success; 3xx -- redirection; 4xx -- client error; 5xx -- server error; Summary; Questions; Further reading; Chapter 3: Designing RESTful APIs with OpenAPI and Swagger; Technical requirements; API-first concepts; The OpenAPI Specification; Format

Document structureData types; Design maturity and implementation; Level 0 -- The Swamp of POX; Level 1 -- Resources; Level 2 -- HTTP Verbs; Level 3 -- Hypermedia Controls; Swagger tooling; Swagger Editor; Swagger Codegen; The Swagger UI; Summary; Questions; Further reading; Section 2: Developing RESTful Web Services; Chapter 4: Setting Up Your Development Environment; Technical requirements; Installing various web servers; Node.js; npm; Testing Node.js and npm; Express.js; Express installation; First app with Express.js; TypeScript installation; Visual Studio Code; Code Linters; TSLint; Prettier

Testing suitesMocha and Chai; Stryker; Debugging; Building tasks for coding; Summary; Questions; Further reading; Chapter 5: Building Your First API; Technical requirements; Serving the app; Initial configurations and file structure; Defining and controlling basic routes; Testing with Postman; Summary; Questions; Further reading; Chapter 6: Handling Requests and Responses; Technical requirements; Creating resource URIs; Creating models; Creating tests for the missing routes; Implementing controllers; Configuring the remaining routes ; Running the application

Query strings, data filtering, and paginationQuery strings and data filtering; Pagination; Summary; Questions; Further reading; Chapter 7: Formatting the API -- Output; Technical requirements; Content negotiation; Data serialization; Hypertext Application Language; Summary; Questions; Further reading; Section 3: Enhancing RESTful Web Services; Chapter 8: Working with Databases and ODMs; Technical requirements; Using MongoDB; Installing MongoDB; MongoDB with Docker; Installing Docker ; Running MongoDB on Docker; Robomongo ; Setting up order-api with Mongo; Configuring Mongoose

Creating the schemas

With RESTful strategy, you can create APIs for every medium such as mobile apps, web apps, and so on. In the development world, serving data is the key ingredient to developing comprehensive applications. This book will help you achieve this with the help of RESTful APIs.

Includes bibliographical references.

There are no comments on this title.

to post a comment.
Share