Тёмный

OpenAPI with Spring & Angular 

Rainer Hahnekamp
Подписаться 4,6 тыс.
Просмотров 1,6 тыс.
50% 1

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

Хобби

Опубликовано:

 

3 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@robertkameni5975
@robertkameni5975 7 месяцев назад
Absolutely amazing Content Rainer! Thanks much
@RainerHahnekamp
@RainerHahnekamp 7 месяцев назад
You are very welcome Robert.
@indrek843
@indrek843 7 месяцев назад
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 7 месяцев назад
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 7 месяцев назад
And thanks for pointing out the "Application Walkthrough"!
@vasu5313
@vasu5313 4 месяца назад
How can I download this code.. any chance
@RainerHahnekamp
@RainerHahnekamp 3 месяца назад
Yes, please try that one and let me know if you have any questions: github.com/rainerhahnekamp/spring-angular-openapi
Далее
Introducing Playwright
48:53
Просмотров 2,8 тыс.
Spring Tips: Spring Modulith
37:39
Просмотров 14 тыс.
Рыбачка
00:14
Просмотров 16 тыс.
Как выходим с тройняшками 🙃
00:17
Angular Testing in 2023: Past, Present, and Future
26:21
Angular's Change Detection
27:31
Просмотров 6 тыс.
GraalVM and Spring
43:14
Просмотров 920
Top 10 Spring Annotations to know in 2024
26:41
Просмотров 73 тыс.
How do I test and mock Standalone Components
12:29
Просмотров 2,3 тыс.
Surprised 😳🤩🤩❤️🔥🥳
0:35
Просмотров 21 млн
Get Yours From Our Profile Description 🙏
0:19
Просмотров 10 млн