Spring Boot REST Service: How to build a REST API in Java

Поделиться
HTML-код
  • Опубликовано: 24 окт 2024

Комментарии • 111

  • @kimber8324
    @kimber8324 4 года назад +23

    This was great, Dan! I'd love more of these guided tutorials. Just hearing the explanation of what's going step by step (in layman's terms) is so incredibly helpful.

  • @atozlearner5025
    @atozlearner5025 3 года назад

    Thank you for posting the navigation links , it helps.
    @ Introduction
    @ Spring Guides
    @ Spring Boot Rest Service Guide
    @ Spring Initializr
    @ Create a resource representation class
    @ Create Controller
    @ Run and test the API mapping
    @ Build an executable jar

  • @hassanmohamed9025
    @hassanmohamed9025 2 года назад +1

    I like your presentations. Your voice is great and I can hear every word you say something which does not happen with other speakers

  • @andylib
    @andylib 3 года назад +12

    No these guide tutorials are amazing and beginner friendly 🤩 please keep em coming

  • @harvanchik
    @harvanchik 3 года назад +4

    Thank you so much. Having only dealt with front-end stuff so far, this back-end api stuff seemed very daunting, but you've made it very easy to understand what is going on. Thanks!

  • @Ziirf
    @Ziirf 2 года назад +5

    Not bad, but there are multiple times where you use keybinds to go into places on the IDE without saying how, this isn't friendly to someone new to the IDE.

  • @mikki7522
    @mikki7522 4 года назад +8

    This is amazing! As close to plug-and-play as you can get.

    • @DanVega
      @DanVega  4 года назад +2

      Wow, thank you!

  • @fpereyra1
    @fpereyra1 3 года назад +2

    Gracias Dan! Excelente video! Tengo 43 años y estoy retomando estos temas luego de muchos años y de todos los videos que vi, este fue el mas claro!

  • @urmur
    @urmur 2 года назад

    definitly will watch more of these!

  • @EMAILSANJEEVJOSHI
    @EMAILSANJEEVJOSHI 2 года назад

    Thanks Dan. your video walkthru makes it lot easier.

  • @ravikumarshah7864
    @ravikumarshah7864 3 года назад

    this is so easily explained. every other tutorial add so much complexity like jpa, h2, database blab bla lba lab alb and then rest controller. by then it looks like a nightmare. thank you.

  • @damilola_adegunwa
    @damilola_adegunwa Год назад

    thanks man, so i just began learning java. thanks for the intro

  • @rowehnakori
    @rowehnakori 3 года назад +4

    This is actually really useful, thank you for sharing!

  • @shiba_inu_99
    @shiba_inu_99 Год назад

    Awesome tutorial. Thanks Dan!

  • @Rand0mAsian
    @Rand0mAsian 4 года назад +1

    Thanks Dan! This helps a lot, indeed it's a lot easier to watch a video than it is to read a webpage!

    • @DanVega
      @DanVega  4 года назад

      Glad it was helpful!

  • @hiuwali5808
    @hiuwali5808 3 года назад

    Thank you Dan. Your tutorial is the best. i just learned for few hours. and now I have my first api.

  • @shashwatsingh6011
    @shashwatsingh6011 2 года назад

    Hey loved the video. Please make more of these as they help me in learning the process step by step visually.

  • @dasanv7016
    @dasanv7016 2 года назад

    Simple, crisp and complete!

  • @tegasteve8195
    @tegasteve8195 2 года назад +1

    Thank you so much, this video ws sincerely so helpful

    • @DanVega
      @DanVega  2 года назад

      Glad it was helpful!

  • @mr.personman7426
    @mr.personman7426 2 года назад +1

    A good point is to structure the code a bit by using Models and Controllers folders. This will be useful for bigger projects.

  • @acavaelnick
    @acavaelnick 3 года назад +1

    I liked this video, thanks!
    Greetings from Argentina

  • @Himadri_Shekhar
    @Himadri_Shekhar 2 года назад

    Please keep making more such videos.

  • @laboromy6297
    @laboromy6297 3 года назад

    I really like the way you explain things ! Thanks from Philippines !

  • @fpereyra1
    @fpereyra1 3 года назад

    I'm sorry here I go again! :-) I'm 43 and I'm coming back to these matters :-) After watching several videos, this was the best one!!! Thanks a lot!

  • @mrdelaperah3945
    @mrdelaperah3945 3 года назад

    Thanks for this video, exactly What i was looking for

  • @sandeepnegi4939
    @sandeepnegi4939 4 года назад +1

    Thanks for the video this is really helpful
    Watching the complete video I feel like I can start building since I have builded a long time ago but this just refreshed my memory :)

  • @sushanthpothuri6058
    @sushanthpothuri6058 3 года назад +1

    Thank you so much !! Please do more...

    • @DanVega
      @DanVega  3 года назад

      More to come! What would you like to see?

  • @ilonashishov6423
    @ilonashishov6423 3 года назад

    Great! thank you! please do more!

  • @KibogoraNsoro
    @KibogoraNsoro Год назад

    Very comprehensive!

  • @retoou3907
    @retoou3907 2 года назад

    Thanks Dan! Great Tutorial!

  • @SHATEMO
    @SHATEMO 2 года назад +1

    Hi Dan,
    I really appreciate your video. it is exactly what I was looking for.
    Simple, to the point, end-to-end working example. Well Done!!
    I already subscribed to your channel, it will be definitely the first place to go to for my java related questions :)

  • @TheMicahMindset
    @TheMicahMindset 3 года назад +1

    Great video, really appreciated you walking through this.

    • @DanVega
      @DanVega  3 года назад

      Glad you enjoyed it!

  • @shady5063
    @shady5063 3 года назад +1

    Hey can you do more of these Java Spring boot course guides on their website? I am a visual learner lol

  • @VISITLosAngeles
    @VISITLosAngeles 3 года назад

    Thank you so much Mister Dan Vega :)

  • @abubakrhartley959
    @abubakrhartley959 4 года назад +3

    plz bring more this is the only spring that is so clear others i cant evens understand the guys accent

  • @romulosendoromulo
    @romulosendoromulo 3 года назад

    This was incredibly helpful, thanks a lot!

  • @affilimusic320
    @affilimusic320 3 года назад

    This was so good and clearly explained!

  • @sakshamgoel1957
    @sakshamgoel1957 3 года назад +1

    This was really helpful!!

    • @DanVega
      @DanVega  3 года назад

      Glad it was helpful!

  • @ainazikmomunalieva3732
    @ainazikmomunalieva3732 3 года назад

    Thank you so much! It helped me.

  •  2 года назад

    Hi Dan, thank you a lot

  • @naz8885
    @naz8885 3 года назад

    This video helped me get a job.... seriously

    • @DanVega
      @DanVega  3 года назад

      OMG are you for real. Congrats!!! You just made my day, I am so happy for you.

  • @matheuslopez578
    @matheuslopez578 3 года назад

    Thanks for the video, I am also a visual learned. U helped me so much

  • @undercrackers56
    @undercrackers56 3 года назад

    Very useful and helpful video. Thank you.

  • @juancespedes2199
    @juancespedes2199 2 года назад

    Great video, great explanation, thanks!

  • @phil86_
    @phil86_ 2 года назад

    Great tutorial, very useful

  • @alexViera0314
    @alexViera0314 2 года назад

    I would like to see a guide on Spring Web with Mongo DB

  • @МишаТиманов-д7х
    @МишаТиманов-д7х 2 года назад +1

    Thank you!

    • @DanVega
      @DanVega  2 года назад

      You're welcome!

  • @ralphcasados8862
    @ralphcasados8862 3 года назад

    Hi Dan I liked your intro, would you consider doing this with the security from springboot and how to configure that portion of it. Thanks

  • @jeffinj7707
    @jeffinj7707 3 года назад

    Great. Thanks for the content

  • @michelchaghoury870
    @michelchaghoury870 3 года назад

    hey I like your content can you please make a video on how to build a restful web service with spring-boot but with a database connection instead of the MockObject,
    and show us how to execute stored procedures, not just raw query strings, please!! and tnx alot

  • @TshepoMokgoatjane
    @TshepoMokgoatjane 3 года назад

    This is wonderful, thanks.

  • @adilmuhammad6078
    @adilmuhammad6078 3 года назад +2

    Thank you. This helps me :D

  • @melissa.heying
    @melissa.heying 3 года назад

    Very helpful, thanks!!

  • @seenathgooding181
    @seenathgooding181 2 года назад

    thanks alot very helpful

  • @digiartpassion8513
    @digiartpassion8513 2 года назад

    Please upload one RestAPI video in STS...using spring boot

  • @moeal5110
    @moeal5110 2 года назад

    It would be great learning tutorial if you pick and thrid parity API and consuming it using java

    • @DanVega
      @DanVega  2 года назад

      Great suggestion! Have you checked out my latest video? I connect to the Notion API

    • @moeal5110
      @moeal5110 2 года назад

      @@DanVega yes, just saw that and it's on my watching list. Thanks look forward to learn more

  • @TariqSajid
    @TariqSajid 2 года назад

    Visual learning is much better, you are right

  • @shruthynair6796
    @shruthynair6796 3 года назад +1

    Hi Dan, Thanks for this video. It is really helpful!
    Can you also please show an example for @PostMapping as well which reads a JSON request and returns a 200 OK JSON response back?

  • @familye3734
    @familye3734 3 года назад

    thank you, sir. it was really helpful

  • @israaodeh99
    @israaodeh99 3 года назад

    Very helpful!!

  • @midwestexplorer
    @midwestexplorer 3 года назад

    Thanks! This is helpful.

  • @michelchaghoury870
    @michelchaghoury870 3 года назад

    Hy I Have A problem I have a MySQL Database with my tables and stored Procedures, I Want To build a spring boot RESTfull web Services I want instead of using JPARepo to Execute My Stored PRocedures, And In my RestController I want to receive HttpStatusCode along with my object, i read the docs and it did not work please can you make a tutorial about this topic please and tnx a lot I have subscribed and I like your work keep going

  • @zek256
    @zek256 3 года назад

    Great video thanks.

  • @tkterje123
    @tkterje123 3 года назад +1

    Great!

  • @familyshare3724
    @familyshare3724 2 года назад +1

    Why am I watching your video instead of following the guide? Cuz I'm making coffee and have twenty minutes to listen but not type.

    • @DanVega
      @DanVega  2 года назад

      Great point!

  • @smeel99
    @smeel99 3 года назад

    Very useful

  • @TheRaviManikandan
    @TheRaviManikandan 2 года назад +1

    Thx sir

  • @laliths4034
    @laliths4034 3 года назад

    Hi, I am trying to build the same on windows.
    But when i try to run 'mvnw spring-boot:run', it says mvnw is not recognized as an Internal or External operation. Its same for mvn command too.
    I am very confused, can anyone pls help me.

  • @DavisTibbz
    @DavisTibbz 3 года назад

    Thank you

  • @ntigirishari
    @ntigirishari 4 года назад +1

    Thank you, sir! :-)

    • @DanVega
      @DanVega  4 года назад +1

      You are welcome!

  • @Asraeks
    @Asraeks 2 года назад

    i build something similar for recruitment task and they said something that it wasn't a REST API. I still dont know what its supposed to be

    • @glenndollard1224
      @glenndollard1224 2 года назад

      you should go back to the recruiter and ask for more information/clarity. Often showing the confidence to push back and request clarity will make you look more professional rather than wasting theirs and your time. Good luck with it.

  • @brutalv4
    @brutalv4 4 года назад +1

    Thanks for the video. By the way there's spring boot maven plugin configuration that creates really executable jar. It will be combined binary java data with bash script, and also packaged file will have the execution bit so you can run it by simply typing ./targer/what-ever.jar =)
    docs.spring.io/spring-boot/docs/2.0.x/reference/html/deployment-install.html#deployment-install

    • @DanVega
      @DanVega  4 года назад +1

      Thanks for sharing! I actually didn't know about this so I appreciate it.

  • @jeanchen194
    @jeanchen194 3 года назад

    Im trying to do this for a school project. However, I am using Gradle instead. I do exactly everything the page says, but when I get to the localhost:8080/greeting it just gives me a whitelabel page

    • @DanVega
      @DanVega  3 года назад

      Gradle wouldn't make a difference here. You're getting an error page because you haven't specified the correct request mapping.

    • @jeanchen194
      @jeanchen194 3 года назад

      @@DanVega I ended up figuring it out. It was the path of the package. I had set everything including the application to Main

  • @ravishah4049
    @ravishah4049 3 года назад

    How can u make the variable final without initializing?

  • @ZiadoonALOBAIDI
    @ZiadoonALOBAIDI 5 месяцев назад

    thank yu

  • @zombiezombie1977
    @zombiezombie1977 4 года назад

    Great vid cheers :)

    • @DanVega
      @DanVega  4 года назад

      Thank you! Cheers!

  • @gasparcalix2095
    @gasparcalix2095 3 года назад

    Keeping up

  • @gurekodok
    @gurekodok 2 года назад

    Awesome

  • @troyaedgan
    @troyaedgan 3 года назад

    Tks!

  • @asvlogs2690
    @asvlogs2690 3 года назад

    can you with DDL and DML?

  • @laticalamonzi2814
    @laticalamonzi2814 2 года назад

    There is no problem in any framework to create a simple rest from a single flat table. It's elementary. Problems begin when you want to return data from related DB tables (especially - with multiple levels of links), but the tutorials stubbornly bypass this point, telling you for the thousandth time how to return Hello World.

  • @locuc2616
    @locuc2616 2 года назад

    great

  • @etcetera6965
    @etcetera6965 Год назад

    Simple Rest API | Spring boot | Beginner's
    ruclips.net/video/egCFxWDrjUE/видео.html

  • @Ravikumar-gj6qw
    @Ravikumar-gj6qw 3 года назад

    Tq

  • @MJ-dh3hf
    @MJ-dh3hf 3 года назад

    Isn't that a super ultra basic almost not useful remote procedure call rather than an actual rest api ? It's not hypertext driven + it feels like a complete copy paste from spring website guide, it would be nice if the tutorial included at least some unique individual approach on the topic, some design patterns, etc
    In my opinion this video is way too long for such small chunk of knowledge we get from it

  • @thataintme
    @thataintme 2 года назад

    20:18
    In terms of maturity,... We don't have any maturity

  • @urmur
    @urmur 2 года назад

    Love this content, but it's not ideal for phone screen viewing.

  • @czowiekqweta4051
    @czowiekqweta4051 2 года назад

    hehe 21:37

  • @ナーシサス次元から来た人-d8u

    20:17
    "Two point s*x"

  • @junkahoolik
    @junkahoolik 3 года назад

    nobody's a visual learner, we all learn by taking in examples (and afterwards actually using what you were exposed to) until it clicks. i wish the education system would stop spreading this type of nonsense.