Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
TypeScript Microservices

You're reading from  TypeScript Microservices

Product type Book
Published in May 2018
Publisher Packt
ISBN-13 9781788830751
Pages 404 pages
Edition 1st Edition
Languages
Toc

Table of Contents (17) Chapters close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Debunking Microservices 2. Gearing up for the Journey 3. Exploring Reactive Programming 4. Beginning Your Microservice Journey 5. Understanding API Gateway 6. Service Registry and Discovery 7. Service State and Interservice Communication 8. Testing, Debugging, and Documenting 9. Deployment, Logging, and Monitoring 10. Hardening Your Application 1. Other Books You May Enjoy Index

Designing our gateway for shopping cart microservices


After seeing various options let's now get our hands dirty and start implementing our microservices gateway for shopping cart microservices. In this section, we will implement gateway from scratch which will have functionalities such as dispatching requests from public endpoints to internal endpoints, aggregate responses from multiple services, and handle transport security and dependency resolution. Let's look at all the concepts that we will use in this module before proceeding with code.

What are we going to use?

In this section, we will look at all the following node modules and concepts in order to efficiently construct our gateway:

  • ES6 proxy: Generally speaking, a proxy server is one which acts as an intermediary server for requests coming in from clients. One of the most powerful and interesting features in ES6 was proxy. ES6 proxy acts as an intermediary among API consumers and objects in services. We usually create proxies when...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}