
Discover how Spring Boot accelerates production-ready applications by auto-configuring beans, embedding servers like Tomcat, and reducing boilerplate, while preserving control through annotation-based customization.
Examine the requirements and prerequisites for building a Spring Boot REST API and microservices app, including Java proficiency, Maven or Gradle, and compatible Tomcat versions.
Find the entire source code at github.
It contains entire codebase of this lecture. You can refer it for any assistance if required.
Create a restful api backed by an in-memory s2 database, exposing crud operations to manage users by id, first name, last name, and email.
Learn to post a new user via JSON to a REST endpoint, save the user with a repository, and return a response entity with 201 created.
Send a put request to the /user endpoint to update an existing user with its id and new fields in JSON format, then verify the changes in the database.
Delete a user record from the database using a Spring Boot REST API and the HTTP delete method, mapping the request to a path variable id to purge the resource.
Understand HTTP status code ranges and common codes, and apply them to exception handling and content negotiations in Spring Boot REST APIs.
Explore custom exception handling with @ExceptionHandler and @ControllerAdvice, returning a structured application error containing message, code, and date for user not found scenarios.
Use property placeholders in Spring Boot to reuse app name, version, and description across properties and controllers, and generate dynamic values with random properties like random.value, random.integer, and random.long.
Spring profiles segregate configurations for development and production, using application properties files and spring.profiles.include to switch databases and credentials across environments.
Demonstrates configuring multiple profiles in a Spring Boot app, overriding main properties with dev and q properties files, and verifying the active profile at runtime.
Compare monolith architectures with microservices, showing a single monolith splitting into product, cart, and payment services with separate databases, scalable deployments, and inter-service communication via REST or AMQ.
Explore the advantages and drawbacks of microservices, including improved fault tolerance, independent services with well-defined boundaries, graceful degradation, polyglot development, and easy addition of new modules.
Explore microservices components, including user and task services, Finn for declarative rest calls, Ribbon for load balancing, Eureka discovery, config server, API gateway, and tracing with Sleuth and RabbitMQ.
"Spring Boot REST API and Microservices - Spring Cloud" is comprehensive course aimed for starting your journey towards spring boot and Microservices. It covers most important fundamentals. The course gets updated with time so that you can keep pace with new offerings from spring and give an edge to your career. Start understanding the basics of Spring boot and REST API and master Microservices which are the latest and hottest topic in market.
We have grown with strong 8000 + students Look at few of the comments from our student.
"The very good knowledge of the spring boot and REST API. it was a good presentation skill. The easiest way to explain microservice and other stuff too related microservice. I feel happy with this course completed."
-Vimal Gangadiya
"Content and explanation provided is really nice along with the practical examples."
- Vishal Mendekar
Start the course and learn.
Introduction to Spring Boot: Understand why Spring boot is required.
Creating first Spring Boot Application
CRUD Operations via Spring Boot
HTTP verbs and RESTful Maturity via Richandson maturity level
Error and Exception Handling
Random numbers and values generation via Spring
Profiles and externalising configurations.
Microservices
Introduction
Feign Declarative REST Client
Service Discovery in Microservices
Use of Config Server
Zuul API gateway
Distributed Tracing
Zipkins UI to view traces
Hystrix Fault tolerance
Spring Cloud bus to update automatic configurations