
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 16-lesson course built from Telusko's 2h 08m of YouTube video. 2 days at 90 minutes a day, with study notes and a quiz in every lesson. A 2-minute placement test skips what you already know.
Taught by Telusko on YouTube. Videos play in YouTube's own player, so the creator keeps every view.
Explains the evolution from monolithic applications to microservices, highlighting scalability, technology diversity, and fault isolation as key benefits.
Covers service discovery, API Gateway, load balancing, and circuit breaker patterns needed to connect independent microservices.
Walks through generating a Spring Boot Maven project for the Question Service with Web, PostgreSQL, Lombok, JPA, OpenFeign, and Eureka Client dependencies.
Removes quiz-related code and dependencies, sets up a separate question database, and configures application.properties for PostgreSQL connectivity.
Starts the Question Service on port 8080, verifies the /all-questions endpoint works, and outlines the three new endpoints needed for quiz interaction.
Builds generate-questions, get-questions-by-IDs, and get-score endpoints in the Question Service so the Quiz Service can request questions and scoring without accessing the question database.
Generates a new Spring Boot project for the Quiz Service with the same dependencies, creates a separate quiz database, and copies controller, service, and model code from the monolithic app.
Deletes QuestionController, QuestionDao, and QuestionService from the Quiz Service, updates imports, and configures application.properties for the quiz database.
Explains how the Quiz Service will use Feign clients and Eureka discovery to call the Question Service instead of direct database access.
Creates a QuizInterface Feign client pointing to 'question-service', declares the three required methods, and wires it into the QuizController to replace direct QuestionDao calls.
Finishes the create-quiz logic using the Feign client to fetch question IDs, saves the quiz with only IDs, enables Feign and Eureka client, fixes port conflicts, and verifies the quiz is created via API Gateway.
Implements get-quiz-questions and submit-quiz (calculate-score) endpoints in the Quiz Service, both delegating to the Question Service via Feign.
Adds logging to the Question Service to show which instance (port 8080 or 8081) handles each request, proving Ribbon load balancing works automatically via Feign and Eureka.
Creates an API Gateway Spring Boot project, configures it on port 8765, enables service discovery locator and lowercase service IDs, and routes external requests through the gateway to Quiz and Question services.