
Learn how http methods drive create, read, update, and delete operations in a Spring Boot microservice, using post for create, get for read, put for update, and delete for removal.
Install the Java development kit from Oracle, download Java Standard Edition, confirm the version, and set JAVA_HOME on Mac OS for use with Spring Tool Suite or NetBeans.
Download and install Sprint tools for Eclipse to build and debug Spring microservices, using the sprint tools download page and install via macOS DMG.
Start building a restful web service with Spring Boot in this quick-start section, and decide whether to skip by assessing your knowledge of basic web services and Spring Cloud.
Build a Spring Boot REST API with get, post, put, and delete methods bound to mappings to manage user details via CRUD operations, returning placeholder strings before JSON payload integration.
Learn to read a user ID from the URL path using the @PathVariable annotation in a /users/{id} endpoint, bind the path value to a method parameter, and test with Postman.
Learn how to read and use query string parameters in Spring Boot microservices, implementing page and limit for paginated /users responses with @RequestParam, and handling required vs optional parameters.
Create a user rest object with first name, last name, email, and user id, and return it as JSON (or XML) from the get user details API.
Learn to catch multiple exceptions with one method in a spring boot controller advice by listing exception classes in the handler annotation and testing with debugging and postman.
Learn constructor based dependency injection in Spring by injecting a utility class into a user service, using the @Autowired and @Service annotations, with Spring auto-wiring components at runtime.
Start building a users microservice that handles registration and login, plus get, update, and delete user details, registers with a Eureka server, and can be tested via Postman.
Learn to set up a paired microservices architecture with a new account management service and a users service, register them with Eureka, and prepare for API gateway integration.
Create a new Spring Boot Project
Create a new RestController
Enable Eureka Discovery Client
Register the account management microservice with the Eureka discovery server and verify its status at /account/status/check; then register the users microservice and confirm both are running.
Run the Eureka discovery server and microservices, then use the Zul API gateway as a single entry point to access the users web service and account web service.
Learn how Spring Cloud Gateway routes http requests to microservices via Eureka Discovery Service, with built-in and custom filters, including jwt validation for secure routing.
Enable discovery locator in spring cloud gateway to auto map http requests to Eureka-registered microservices using the service name, then adjust with lowercase service id settings for URL routing.
This course requires you to download Docker Desktop. If you are a Udemy Business user, please check with your employer before downloading software.
This video course is for Beginners who have never build RESTful Web Services and Microservices before. It will guide you step-by-step through basics and will help you create and run RESTful Microservices from scratch. You will learn how to run Microservices on your own developer's machine as well as in Docker Containers on AWS EC2 Linux machines.
By the end of this course, you will have your own RESTful Spring Boot Microservices built and running in Spring Cloud.
You will learn how to create and run your own:
RESTful Microservices,
Eureka Discovery Standalone Server,
Eureka Discovery Server Cluster,
Zuul API Gateway,
Spring Cloud API Gateway,
Load Balancer,
Spring Cloud Config Server,
You will learn to use:
Spring Cloud Bus and Rabbit MQ,
Spring Boot Actuator
You will also learn how to implement for your REST API features like:
User Authentication(Login) and,
User Authorization(Registration),
Role-based access control(RBAC)
You will learn to use:
Spring Security and JWT
You will learn how to use:
Spring Data JPA to store user details in a database,
H2 in-memory database and a database console,
MySQL database server,
Postman HTTP Client,
Spring Tool Suite,
Spring Initializer
This course also covers how to:
Trace HTTP Requests with Spring Cloud Sleuth and Zipkin(Distributed tracing)
Aggregate log files in one place(Centralized logging) with ELK stack(Logstash, Elasticsearch, Kibana).
You will also learn how to:
Start up AWS EC2 Linux machine,
Install Docker,
Create Docker images,
Run Microservices in Docker containers on multiple EC2 Linux machines in Amazon AWS Cloud.