Implementing code to return JWT Token once the user in Authenticated | Spring Security Authorization using JWT TokenFeb 22, 2025·6 min read
Implementing Spring Security | Simple Authentication using BCryptPasswordEncoderFeb 22, 2025·2 min read
Spring Security with MySQL Database | Spring BootStep 1 → Add dependencies. <!-- Spring Security --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <!-- Lombok --> ...Feb 25, 2025·8 min read
Implementing Circuit Breaker pattern using Resilience4J | Fault Tolerance | SpringBoot MicroservicesNov 6, 2024·2 min read
Implementing Config Client | Reading configuration from GitHub | SpringBoot MicroservicesWe already have setup our ConfigServer (Article : Implementing config server to externalize configuration | SpringBoot Microservices). Here we will setup our UserService microservice as Config Client so that it can read the configurations stored on t...Nov 6, 2024·1 min read
Implementing config server to externalize configuration | SpringBoot MicroservicesStep 1 → Our config server will be a microservice with dependencies - Config Server | SPRING CLOUD CONFIG Eureka Discovery Client | SPRING CLOUD DISCOVERY Step 2 → Register the microservice as Discovery Client. For this we have already added depe...Nov 5, 2024·2 min read
Implementing API Gateway | SpringBoot MicroservicesWe have 3 microservices for our Hotel Rating Application → UserService - localhost:8081/users HotelService - localhost:8082/hotels RatingService - localhost:8083/ratings Above 3 microservices are already registered as Discovery Client on our Dis...Nov 5, 2024·2 min read
Using Feign Client for Microservices Communication | SpringBootIn this article we will learnt to make Http call using Feign Client from one microservice to another microservice api and consume data. We have 3 microservices for our Hotel Rating Application → UserService - localhost:8081/users HotelService - loc...Nov 4, 2024·2 min read
Using Rest Template for Microservices Communication | SpringBootIn this article we will learnt to make Http call using RestTemplate from one microservice to another microservice api and consume data. We have 3 microservices for our Hotel Rating Application → UserService - localhost:8081/users HotelService - loc...Nov 3, 2024·3 min read
Implementing Service Discovery Client in SpringBoot | MicroservicesWe have 3 microservices for our Hotel Rating Application → UserService - http://localhost:8081/users HotelService - http://localhost:8082/hotels RatingService - http://localhost:8083/ratings We already did setup our Discovery Client. Check out t...Nov 3, 2024·2 min read