Электронная библиотека Финансового университета

     

Детальная информация

Araújo, Biharck Muniz. Hands-On RESTful Web Services with TypeScript 3: Design and Develop Scalable RESTful APIs for Your Applications. — Birmingham: Packt Publishing Ltd, 2019. — 1 online resource (455 pages). — Creating the schemas. — <URL:http://elib.fa.ru/ebsco/2092871.pdf>.

Дата создания записи: 06.04.2019

Тематика: 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 services.

Коллекции: EBSCO

Разрешенные действия:

Действие 'Прочитать' будет доступно, если вы выполните вход в систему или будете работать с сайтом на компьютере в другой сети Действие 'Загрузить' будет доступно, если вы выполните вход в систему или будете работать с сайтом на компьютере в другой сети

Группа: Анонимные пользователи

Сеть: Интернет

Аннотация

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.

Права на использование объекта хранения

Место доступа Группа пользователей Действие
Локальная сеть Финуниверситета Все Прочитать Печать Загрузить
Интернет Читатели Прочитать Печать
-> Интернет Анонимные пользователи

Оглавление

  • 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 requirements
    • Organizing 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 structure
      • Data 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 suites
      • Mocha 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 pagination
      • Query 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
      • Changing tests
      • Changing the controllers
    • Manual testing
    • Summary
    • Questions
    • Further reading
  • Chapter 9: Securing Your API
    • Technical requirements
    • Security overview
      • Using HTTPS over HTTP
    • Improving API security
      • Using bcrypt to encrypt a password
      • Adding authentication
      • Email validation
    • Manual testing
    • Summary
    • Questions
    • Further reading
  • Chapter 10: Error Handling and Logging
    • Technical requirements
    • Error handling
      • Writing custom error handlers
      • Adding an error handler to order-api
    • Error messages
    • Logging
    • Summary
    • Questions
    • Further reading
  • Chapter 11: Creating a CI/CD Pipeline for Your API
    • Technical requirements
    • Continuous Integration
      • Adding the code to GitHub
      • Continuous Integration with Travis CI
      • Adding tests to the pipeline
    • Continuous Deployment
      • Manual deployment to GCP
      • Configuring mLab
      • Automatic deployment to GCP
      • Scalability
    • Summary
    • Questions
    • Further reading
  • Section 4: Extending the Capabilities of RESTful Web Services
  • Chapter 12: Developing RESTful APIs with Microservices
    • Technical requirements
    • What are microservices?
    • Breaking down order-api
      • Creating the databases
      • Creating the projects on GitHub
      • GCP projects
      • Swagger implementation
      • Create the skeleton for both microservices
        • The order-ms code
        • The user-ms code
    • Summary
    • Questions
    • Further reading
  • Chapter 13: Flexible APIs with GraphQL
    • Technical requirements
    • Introduction to GraphQL
      • Configuring GraphQL with the order-ms service
      • Improving order-ms with order data 
      • Connecting with MongoDB
    • Creating a client with Vue.js
    • Summary
    • Questions
    • Further reading
  • Assessments
  • Other Books You May Enjoy
  • Index

Статистика использования

stat Количество обращений: 0
За последние 30 дней: 0
Подробная статистика