OpenAPI with Spring & Angular

  Рет қаралды 1,700

Rainer Hahnekamp

Rainer Hahnekamp

Күн бұрын

In this video, I explain how to use the OpenAPI for type-safe communication between Spring and Angular.
I will also do an application walkthrough, where I explain a minimal Spring application, which uses the latest features of Spring Boot 3 (for example Testcontainers).
The GitHub repository is available at github.com/rainerhahnekamp/sp...
0:00 Introduction
1:14 Theory
6:53 Application Walkthrough
16:00 "Code First" Approach
30:40 Upload via OpenAPI
36:07 "API First" Approach
49:43 Summary

Пікірлер: 10
@DJpiya1
@DJpiya1 2 күн бұрын
Another fantastic content. Awesome. Looking forward to see Spring OAuth + OpenID + Spring Session integration with SPA frontend. Thanks a lot.
@RainerHahnekamp
@RainerHahnekamp Күн бұрын
Yup, that was the idea. The article has already been published several months go. The video is missing.
@DJpiya1
@DJpiya1 Күн бұрын
@RainerHahnekamp lovely, ur contents are fantastic. Please keep them coming in. 🙏🙏
@robertkameni5975
@robertkameni5975 7 ай бұрын
Absolutely amazing Content Rainer! Thanks much
@RainerHahnekamp
@RainerHahnekamp 7 ай бұрын
You are very welcome Robert.
@indrek843
@indrek843 8 ай бұрын
Great content, Rainer. Thank you! Watching the video, I kept thinking about the locality of behavior and code co-location. From their POV, this "API Spec"-driven development flow rubs me the wrong way. I feel this approach could get messy very fast and I'm not sure if the benefits outweigh the risks. For example, I really admire how you structured your code in the "Application Walkthrough" part and how each action/command got its own service class with the contained "XRequest" record. I believe that's how we usually code - inside out or domain-driven. However, when driven by the "API First" approach, I feel we are now moving "outside in". Let's say you had to extend the last "API First" approach a little bit and implement the Java's add booking feature. Would you then reference the Booking.java of the generated package from inside your "logic" module?
@RainerHahnekamp
@RainerHahnekamp 8 ай бұрын
Hello, so I am usually a code-first guy but I know that this approach does not work very well in larger organisations. So when you have multiple teams depending on a particular API, they usually go to API-First.
@RainerHahnekamp
@RainerHahnekamp 8 ай бұрын
And thanks for pointing out the "Application Walkthrough"!
@vasu5313
@vasu5313 4 ай бұрын
How can I download this code.. any chance
@RainerHahnekamp
@RainerHahnekamp 4 ай бұрын
Yes, please try that one and let me know if you have any questions: github.com/rainerhahnekamp/spring-angular-openapi
Introducing Playwright
48:53
Rainer Hahnekamp
Рет қаралды 2,9 М.
GraalVM and Spring
43:14
Rainer Hahnekamp
Рет қаралды 1 М.
No empty
00:35
Mamasoboliha
Рет қаралды 3,9 МЛН
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 478 М.
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 31 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 41 МЛН
Using Spring with OpenAPI
43:08
VMware Tanzu
Рет қаралды 582
Type-Safe TypeScript with Type Narrowing
33:36
Rainer Hahnekamp
Рет қаралды 1,5 М.
RxJs for Angular from scratch - April 2024
1:59:32
Angular Training
Рет қаралды 1,4 М.
Signals Unleashed: The Full Guide
1:39:24
Rainer Hahnekamp
Рет қаралды 19 М.
NgRx Best Practices - Episode 4: Facade Pattern
36:20
Rainer Hahnekamp
Рет қаралды 4,3 М.
Angular Testing in 2023: Past, Present, and Future
26:21
Rainer Hahnekamp
Рет қаралды 11 М.
NgRx Signal Store Trilogy, Part 1: Why, When, and How?
51:04
Rainer Hahnekamp
Рет қаралды 13 М.
Cypress and Playwright: A Comparison
1:09:14
Rainer Hahnekamp
Рет қаралды 7 М.
How do I test and mock Standalone Components
12:29
Rainer Hahnekamp
Рет қаралды 2,5 М.
Проверил, как вам?
1:00
Коннор
Рет қаралды 6 МЛН
Don´t WASTE FOOD pt.3
0:20
LosWagners ENG
Рет қаралды 6 МЛН
Reuse3♻️
0:25
Yoshipapa / よしパパ
Рет қаралды 11 МЛН
WORLD'S SHORTEST WOMAN
0:58
Stokes Twins
Рет қаралды 24 МЛН