Building REST APIs with Spring Boot

preview_player
Показать описание
In this live coding session, you will learn how to build REST APIs in Java with Spring Boot. You will learn how to bootstrap your application using Spring Initializr and the New Project Wizard in IntelliJ IDEA. You will learn some best practices to keep in mind when creating your APIs. By the end of this session, you will be able to create a basic CRUD REST API in Spring Boot.

Speaker: Dan Vega
Рекомендации по теме
Комментарии
Автор

section:
00:04:18 Introduction
00:05:26 API
00:07:00 REST
00:08:16 Demo
00:08:46 Create Spring project from online start_spring_io
00:14:56 create Spring project from ItelliJ IDE
00:15:50 run project
00:18:12 create class inside model package
00:22:00 create class inside model package
00:24:39 create LiveStream class inside model package
00:28:35 create LiveStreamController class in controller package
00:34:50 create LiveStreamRepository class in repository package
01:02:38 more information about learning resources
01:04:10 Question Answer session

zahidrouf
Автор

OMG is Mala Gupta, she wrote the best JAVA certification book on market!

Euler-hn
Автор

Thank you for this, wish it was bit longer

kingstonmocktail
Автор

excellent video and straight forward !

emrekaplan
Автор

This is top, top knowledge. THANK YOU SO MUCH Dan was great. Thank you, thank you and thank you!!

ZZZZZZZaaaart
Автор

Very informative and well explained. Great session. Like you mentioned Dan I'm a big big fan of IntellIJ too and well worth to have the ultimate version.

santhoshjke
Автор

@Dan Vega thank you for sharing... @18:58...throw 19:00.. how did you generate the fields from the record class LiveStream ?

rmanamuli
Автор

excellent webinar! Very well explained! Kudos

WilmanArambillete
Автор

Great stream. A recommendation would be to maybe annotate sections in the video, so it's easier to navigate through topics when watching it as a video.

eddies.
Автор

@DanVega: At 19:00, how did the Model fields populate by doing a lookup on the word "live". You mention something about props. Can you please briefly explain. What IntelliJ plugin was used installed to do that lookup and pull all those fields? Thanks in advance.

adnansiddiqui
Автор

not to be a doodooface but this sort of implies there is a previous video/project we are following off of here and its a bit confusing not coming from that, and not knowing which video this is a continuation of. I do appreciate the video though, youtube is plagued with a lot of bad java tutorials and this one is pretty good and easy to get up and running with.

you do go a bit fast with the code generations, and for instance someone has to know to import the correction junit packages for the assertion methods, so it might not be the best video to someone who is new to java itself.

mwatkins
Автор

I'm a newbie and I have no idea what just happened in this video

santacloudy
Автор

we are missing the part about connecting it to a *database*.
However many useful stuff said thru the video

mikojanchannel
Автор

Thanks, Will there be other webinars for advanced REST APIs with Spring Boot?

ahmede
Автор

at 23:30, why was the assertNotNull(stream) and assertEquals("REST APIs with Spring Boot", stream.getTitle()) put inside the constructor and not outside of it?

jmainex
Автор

Thank you for this great information,
I want to ask you how to use services, and what's the difference between using repository instead of services on controller?

sofianezerrouki
Автор

Great Session.

Where does the concept of "record" fit in the java world? What problem it is trying to solve? Can it be used as JPA entities? Can it be used as a replacement for DTOs. My DTOs have many fields that do not have a direct field in the entity but are computed on the fly based on a few other calculations. Can this be achieved using "record"?

Thanks.

saravana-kumar-m
Автор

This is the first time i had to comment something like this.

Why dont you explain a little bit more about things you are doing and how are you doing this? As complete newbie i have hard time to understand how did you create that record class, what is "target" for, why did you decide to generate hash and equal and i am still at the first half of the video.

Unfortunately did not help at all..

Mr_too_much
Автор

For the MutableLiveStream Class inside the model package, Can we use LomBok instead to reduce writing code?
Another question, Is using Service interface, Service Impl, DTO considered as a good idea?

traveho
Автор

Spring boot java 17 hello world session.

pavelpetrashov