Spring Boot Microservices Tutorial Part 10 - Setup Angular App

  Рет қаралды 4,844

Programming Techie

Programming Techie

Күн бұрын

Пікірлер: 26
@ProgrammingTechie
@ProgrammingTechie 5 ай бұрын
Link to the written tutorial: programmingtechie.com/articles/spring-boot-microservices-tutorial-part-7 Link to the Github repository: github.com/SaiUpadhyayula/microservices-shop-frontend
@prasanthsanjeevi2563
@prasanthsanjeevi2563 5 ай бұрын
Thank you so much, very useful.
@pritishdesai6537
@pritishdesai6537 4 ай бұрын
Hi Sai Amazing series Awaiting the remaining videos
@nawwintphyu1873
@nawwintphyu1873 3 ай бұрын
Thank you so much!
@razatech22
@razatech22 5 ай бұрын
Thank you for this series
@aishwaryajaiswal9295
@aishwaryajaiswal9295 5 ай бұрын
Hi Sai, Excellent content. However could you please tell me how many videos are remaining in this playlist and which topics are you going to cover? Thanks a lot as this will help me in going through all the videos at once.
@ProgrammingTechie
@ProgrammingTechie 5 ай бұрын
Hi, There are 4 more videos that covers: Kafka integration, Observability, Dockerizing the project, Deploying to Kubernetes
@aishwaryajaiswal9295
@aishwaryajaiswal9295 5 ай бұрын
@@ProgrammingTechie Thank you 😊
@prasanthsanjeevi2563
@prasanthsanjeevi2563 5 ай бұрын
​@@ProgrammingTechie please release weekly
@qii3642
@qii3642 3 ай бұрын
I added CORS settings in the API Gateway and I'm still getting a CORS error on the front end on the products page.
@ToToneYou
@ToToneYou Ай бұрын
I met the same problem... did you solve it at the end?
@Nab-dh7bl
@Nab-dh7bl 3 ай бұрын
Help, someone can clarify my doubt please, We have the products in invectory service so why we call the path of product-service from the front-end, i followed with attention the tutorial many times but still searching some solution, im not able to make a order from front-end interface; Have a good one and thank you in advance
@mateuslevi1300
@mateuslevi1300 4 ай бұрын
When calling POST to create a product I am receiving an error. 401 Cors missign allow origin e ns error dom bad uri. What can it be? I configured cors config in services the same as in videos. Maybe I missed something. I checked this error by calling the routes at localhost:4200. login process using keycloak is working and etc
@nawwintphyu1873
@nawwintphyu1873 2 ай бұрын
Same error
@nawwintphyu1873
@nawwintphyu1873 2 ай бұрын
I can fix the error now by adding the following method in ApiGatewayApplication. @Bean public WebMvcConfigurer corsConfigurer() { return new WebMvcConfigurer() { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**").allowedOrigins("localhost:4200"); } }; }
@ToToneYou
@ToToneYou Ай бұрын
I met this issue as well. Did you manage to solve it?
@tasos8230
@tasos8230 Ай бұрын
ensure that you have the correct security implementation on api-gateway service and your config.SecuritConfig.class is correct like this below, you have to add the corsConfigurationSource bean if you dont added it and : private final String[] freeResourceUrls = {"/swagger-ui.html", "/swagger-ui/**", "/v3/api-docs/**", "/swagger-resources/**", "/api-docs/**", "/aggregate/**", "/actuator/prometheus"}; @Bean public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws Exception { return httpSecurity.authorizeHttpRequests(authorize -> authorize .requestMatchers(freeResourceUrls) .permitAll() .anyRequest().authenticated()) .cors(cors -> cors.configurationSource(corsConfigurationSource())) .oauth2ResourceServer(oauth2 -> oauth2.jwt(Customizer.withDefaults())) .build(); } @Bean CorsConfigurationSource corsConfigurationSource() { CorsConfiguration configuration = new CorsConfiguration(); configuration.applyPermitDefaultValues(); configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD")); UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); source.registerCorsConfiguration("/**", configuration); return source; } }
@ToToneYou
@ToToneYou 29 күн бұрын
@@tasos8230 oh thank you buddy! You have saved my life!
@rishiraj2548
@rishiraj2548 3 ай бұрын
17:00 code overview of angular app
@prasanthsanjeevi2563
@prasanthsanjeevi2563 4 ай бұрын
Hi @ProgrammingTechie please release next video
@movietrailer3616
@movietrailer3616 Ай бұрын
I don't know about angular is it okay to skip this video (part-10) and go to the next kafka (part-11) tutorial ?
@ProgrammingTechie
@ProgrammingTechie Ай бұрын
Yes
@rishiraj2548
@rishiraj2548 5 ай бұрын
🙏💯👍
The M4 Mac Mini is Incredible!
11:45
Marques Brownlee
Рет қаралды 4,7 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 45 МЛН
Wait… Maxim, did you just eat 8 BURGERS?!🍔😳| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 9 МЛН
Spring Boot APIs Gateway in 20 Minutes
22:50
The IT Wizard
Рет қаралды 12 М.
Microservices using SpringBoot 3.0 | Full Example [NEW]
1:25:38
Daily Code Buffer
Рет қаралды 194 М.
Spring Boot Microservices Tutorial - Part 1 - Building Services
39:00
Programming Techie
Рет қаралды 43 М.
Microservices Tutorial for Beginners
2:07:33
Telusko
Рет қаралды 102 М.
Spring Boot Microservices Tutorial Part 12 - Observability with Grafana Stack
41:30
Spring Boot Microservices Tutorial - Part 8 - Aggregate REST API in Gateway
19:37
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 45 МЛН