
TypeScript Microservices
Build, deploy, and secure Microservices using TypeScript combined with Node.js
- 404 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
TypeScript Microservices
Build, deploy, and secure Microservices using TypeScript combined with Node.js
About this book
Build robust microservice-based applications that are distributed, fault tolerant, and always availableAbout This Book• Learn to build message-driven services for effective communication• Design microservices API using Reactive programming design patterns• Deploy, scale and monitor microservices for consistent high performanceWho This Book Is ForThis book is for JavaScript developers seeking to utilize their Node.js and Typescript skills to build microservices and move away from the monolithic architecture. Prior knowledge of TypeScript and Node.js is assumed.What You Will Learn• Get acquainted with the fundamentals behind microservices.• Explore the behavioral changes needed for moving from monolithic to microservices.• Dive into reactive programming, Typescript and Node.js to learn its fundamentals in microservices• Understand and design a service gateway and service registry for your microservices.• Maintain the state of microservice and handle dependencies.• Perfect your microservice with unit testing and Integration testing• Develop a microservice, secure it, deploy it, and then scale itIn DetailIn the last few years or so, microservices have achieved the rock star status and right now are one of the most tangible solutions in enterprises to make quick, effective, and scalable applications. The apparent rise of Typescript and long evolution from ES5 to ES6 has seen lots of big companies move to ES6 stack. If you want to learn how to leverage the power of microservices to build robust architecture using reactive programming and Typescript in Node.js, then this book is for you.Typescript Microservices is an end-to-end guide that shows you the implementation of microservices from scratch; right from starting the project to hardening and securing your services. We will begin with a brief introduction to microservices before learning to break your monolith applications into microservices. From here, you will learn reactive programming patterns and how to build APIs for microservices. The next set of topics will take you through the microservice architecture with TypeScript and communication between services. Further, you will learn to test and deploy your TypeScript microservices using the latest tools and implement continuous integration. Finally, you will learn to secure and harden your microservice.By the end of the book, you will be able to build production-ready, scalable, and maintainable microservices using Node.js and Typescript.Style and approachThis book will be a step by step easy to follow guide with focused examples for building microservices with Typescript.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Beginning Your Microservice Journey
- Overview of shopping cart microservices
- Architecture design of shopping cart microservices
- Implementation plan for shopping cart microservices
- Schema design and database selection
- Microservice predevelopment aspects
- Developing some microservices for the shopping cart
- Microservice design best practices
Overview of shopping cart microservices
Business process overview

Functional view

Deployment view

Architecture design of our system

Different microservices
- Product catalog
- Price catalog
- Discounts
- Invoice
- Payment
- Inventory
Cache microservice
Service registry and discovery
Registrator
Logger
Gateway
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Debunking Microservices
- Gearing up for the Journey
- Exploring Reactive Programming
- Beginning Your Microservice Journey
- Understanding API Gateway
- Service Registry and Discovery
- Service State and Interservice Communication
- Testing, Debugging, and Documenting
- Deployment, Logging, and Monitoring
- Hardening Your Application
- Other Books You May Enjoy