This is the code repository for Hands-On Microservices with TypeScript 3 [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
For non-dockerized examples (sections 1-3):
- NodeJS 9.10 or higher
- Typescript (npm i typescript -g)
- Mocha (npm i mocha -g)
For examples on sections 4-5:
- Docker (can use docker for windows/mac)
- Docker-compose
- clone the whole repository to disk.
for non-docker examples (sections 1-3):
- go into each service directory that has a package.json file in it, and install dependencies (npm install) there can be up to 4 such service directories in a single video code, but most have only one.
- run gulp in songs & playlist directories
- use run.bat to run the example, or run similar commands on mac cmdline.
for dockerized examples (sections 4-5) build container images
- use build.bat or run the same commands on mac
- use run.bat to run the example, or run similar commands on mac cmdline.
If you want to make effective and scalable applications with microservices, this course will be perfect for you!
Building a real-world solution with the microservice architecture takes more than is initially apparent. It requires reasoning about building blocks, designing easily accessible APIs, knowing how to be secure by design, and building automated testing coverage from day one. This course will guide you through the steps of building an enterprise-grade solution by utilizing one of the most natural technology choices for this type of application: Node.js and Typescript.
Finally, you'll build the My-Music app where you'll create your own playlist from an existing song library.
- Start by building your first service
- Learn to add a UI service that can run services together
- Master the basic architectural design of microservice systems with security
- Get introduced to the backend service
- Learn to how to select your database and to add data layer code with best practices
- Manage complexities such as Dockerization, service discovery, and central configuration with microservices
- Before going to production, learn to perform stress testing and security checks
To fully benefit from the coverage included in this course, you will need:
This course is for Typescript developers keen 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.
This course has the following software requirements:
This will vary on a product-by-product basis, but should be a standard PI element for ILT products. This example is relatively basic.
Minimum Hardware Requirements
For successful completion of this course, students will require the computer systems with at least the following:
· OS: Windows, Linux, MacOS
· Processor: Dual Core Processor 1.2Ghz or greater
· Memory: 4GB
· Storage: Enough to install a browser, NodeJS, Visual Studio Code and a few dependencies
Recommended Hardware Requirements For an optimal experience with hands-on labs and other practical activities, we recommend the following configuration:
· OS: Windows, Linux, MacOS
· Processor: QuadCore Processor 1.6Ghz or greater
· Memory: 8GB Ram
· Storage: Enough to install a browser, NodeJS, Visual Studio Code and a few dependencies
Software Requirements · OS: Windows 10 · Browser: Google Chrome
Provide links/instructions so that the customer can easily find out where to download the required software.
NodeJS: https://nodejs.org/en/
TypeScript: http://www.typescriptlang.org/
Visual Studio Code: https://code.visualstudio.com/
Google Chrome: https://www.google.com/chrome/