Home Page Icon
Home Page
Table of Contents for
Hands-On Microservices with Node.js
Close
Hands-On Microservices with Node.js
by Diogo Resende
Hands-On Microservices with Node.js
Title Page
Copyright and Credits
Hands-On Microservices with Node.js
PacktPub.com
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
The Age of Microservices
Introducing microservices
Introducing Node.js
Modules
Arrow functions
Classes
Promises and async/await
Spread and rest syntax
Default function parameters
Destructuring
Template literals
Advantages of using Node.js
Node.js Package Manager
Asynchronous I/O
Community
From monolith to microservices
Patterns of microservices
Decomposable
Autonomous
Scalable
Communicable
Disadvantages of microservices
Summary
Modules and Toolkits
Express
Micro
Seneca
Hydra
Summary
Building a Microservice
Using Express
Uploading images
Checking an image exists in the folder
Downloading images
Using route parameters
Generating thumbnails
Playing around with colors
Refactor routes
Manipulating images
Using Hydra
Using Seneca
Plugins
Summary
State and Security
State
Storing state
MySQL
RethinkDB
Redis
Conclusion
Security
Summary
Testing
Types of testing methodologies
Using frameworks
Integrating tests
Using chai
Adding code coverage
Covering all code
Mocking our services
Summary
Deploying Microservices
Using virtual machines
Using containers
Deploying using Docker
Creating images
Defining a Dockerfile
Managing containers
Cleaning containers
Deploying MySQL
Using Docker Compose
Mastering Docker Compose
Summary
Scaling, Sharding, and Replicating
Scaling your network
Replicating our microservice
Deploying to swarm
Creating services
Running our service
Sharding approach
Replicating approach
Sharding and replicating
Moving to Kubernetes
Deploying with Kubernetes
Summary
Cloud-Native Microservices
Preparing for cloud-native
Going cloud-native
Creating a new project
Deploying a database service
Creating a Kubernetes cluster
Creating our microservice
Deploying our microservice
Summary
Design Patterns
Choosing patterns
Architectural patterns
Front Controller
Layered
Service Locator
Observer
Publish-Subscribe
Using patterns
Planning your microservice
Obstacles when developing
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Title Page
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset