"Welcome To Ashok IT" "Spring Boot and MicroServices" Topic : MicroServices Development Date : 23/01/2025 (Session - 108) _____________________________________________________________________________________________________________________________ * As part of Microservices Development we required below microservices need to be developed 1) Customer-MicroServices >>> It will handles to store the Customer Information. 2) Address-MicroServices >>> It will handles to store the Address Information related to Customer. * Following are the below Microservices Information Customer Microservices <---------------------------------------> Oracle Database Address Microservices <---------------------------------------> MySQL Database * Today We are going to Develop the Customer Microservices with below starters 1) Spring Data JPA Starter 2) Oracle Driver/MySQL Driver 3) WebStarter 4) lombok 5) ModelMapper NOTE ==== * Find the Source Code in GitHub Repoistory.... Creating Address ================ curl --location 'http://localhost:9966/api/address/' \ --header 'Content-Type: application/json' \ --data '{ "doorNo" :"1-2-3", "cityName":"Hyderabad", "pincode":"2343434", "customerId":130 }' Getting Address by AddressId ============================= curl --location 'http://localhost:9966/api/address/1' \ --header 'Content-Type: application/json' Getting All Address =================== curl --location 'http://localhost:9966/api/address/' \ --header 'Content-Type: application/json' Getting Address For Customer ============================ curl --location 'http://localhost:9966/api/address/customer/130' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++