#24 Spring Boot Project | Response Entity and GetByID

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 61

  • @pranaypaul6361
    @pranaypaul6361 7 หลายเดือนก่อน +7

    Response Entity understood!!! keeping it simple while basics are focussed in each video. Great!!!

  • @lootster
    @lootster 4 หลายเดือนก่อน +2

    00:04 Fetching and displaying individual product details
    01:46 Troubleshooting server and database connectivity issues
    03:26 Implementing GetByID method in Spring Boot project.
    05:09 Implement proper handling of empty product responses
    06:43 Using JSON format to change and specify data format
    08:30 Using ResponseEntity to send status code and data in Spring Boot
    10:05 Utilizing ResponseEntity for controlling status codes and data handling
    11:43 Handling response entity for getting product by ID

  • @ChandraSm1310
    @ChandraSm1310 2 หลายเดือนก่อน +1

    Sir you are not a normal human being. You are a Alien 💪😊 😊💪

  • @CarlosShakespeare
    @CarlosShakespeare 7 หลายเดือนก่อน +2

    Muy chas gracias. .. Desde venezuela!😲

  • @kemalkubilayylmaz4142
    @kemalkubilayylmaz4142 หลายเดือนก่อน

    As Navin said, returning null isn't a good idea, but it isn't a big deal in a course where the focus is Spring. If you wonder what would be the best practice, you can throw exceptions in the service layer and catch these exceptions in the controller layer and map to a proper status code

  • @NandinerdeneMandakh
    @NandinerdeneMandakh 5 หลายเดือนก่อน

    Understood Response Entity! Thank you!

  • @ariel_chess
    @ariel_chess 2 หลายเดือนก่อน +2

    8:50 "Thisisthedefaulthttpthatyouaregetting"?

  • @naraynwetal6544
    @naraynwetal6544 5 หลายเดือนก่อน

    Excellent sir G. ResponseEntity understood very well

  • @DeepCoderMK
    @DeepCoderMK 14 วันที่ผ่านมา

    Thank you

  • @DevGhost97
    @DevGhost97 2 หลายเดือนก่อน

    thank you sir

  • @shivarajme
    @shivarajme หลายเดือนก่อน

    Super Naveen

  • @akashmondal3952
    @akashmondal3952 5 หลายเดือนก่อน

    11:15 ResponseEntity

  • @vishaldindalkop294
    @vishaldindalkop294 6 หลายเดือนก่อน

    Thank you for the video

  • @user-cd8cg3yr1q
    @user-cd8cg3yr1q 6 หลายเดือนก่อน

    thank you for this video sir

  • @emotinal_pain
    @emotinal_pain 4 หลายเดือนก่อน

    Thank you

  • @ucLe-ux7zp
    @ucLe-ux7zp 5 หลายเดือนก่อน

    thank you so much

  • @MishalCooray-y1w
    @MishalCooray-y1w 3 หลายเดือนก่อน

    solid stuff

  • @Prabhashana
    @Prabhashana 7 หลายเดือนก่อน

    thank you

  • @durgeshjadhav01
    @durgeshjadhav01 2 หลายเดือนก่อน

    nice

  • @AnuragS-t8u
    @AnuragS-t8u 3 หลายเดือนก่อน

    My everything performs as per your output but the only difference is my frontend is not showing date? Means not the old format not the type casted format. showing blank there. What cane be the issue sir?

  • @AjayKumar-go4jr
    @AjayKumar-go4jr 5 หลายเดือนก่อน

    NIce content!

  • @RamyaK-j6t
    @RamyaK-j6t หลายเดือนก่อน

    Can we use html,css and js for the frontend instead of.jsx file

  • @kushwahcreation8882
    @kushwahcreation8882 หลายเดือนก่อน

    date is not fetching on frontend

  • @tgstrangergaming8106
    @tgstrangergaming8106 7 หลายเดือนก่อน

    Sir Java and python both languages are i know 20% which one study first?

  • @a_dev6696
    @a_dev6696 7 หลายเดือนก่อน

    Sir can we get a job by creating simple project or we need. To Go for complexity step by step 🤔🤔🤔

  • @aaryanwaghmare6910
    @aaryanwaghmare6910 7 หลายเดือนก่อน +1

    After using the "getProductById" function, the product screen still displays "Loading...". Is there an issue with the React code, or is there something I might have written incorrectly?

    • @truthbetold_25
      @truthbetold_25 6 หลายเดือนก่อน +1

      Yes facing the same problem. Let me know if you find the fix for it.

    • @GauravSharma-bl7nu
      @GauravSharma-bl7nu 5 หลายเดือนก่อน

      @@truthbetold_25 please refer to react ui and backend code in video description.

    • @GauravSharma-bl7nu
      @GauravSharma-bl7nu 5 หลายเดือนก่อน

      @@truthbetold_25 project is running fine.

    • @AmithGaikwad-pb9ht
      @AmithGaikwad-pb9ht 5 หลายเดือนก่อน

      @@truthbetold_25 Yes facing the same, From the postman the /api/product/5 works fine but fails over click

    • @AmithGaikwad-pb9ht
      @AmithGaikwad-pb9ht 5 หลายเดือนก่อน +3

      Just fixed the issue, getAllProducts as /api/products where as getProductById as /api/product/{id} it was a typo mistake 😅

  • @sasikumar4183
    @sasikumar4183 หลายเดือนก่อน

    🎉

  • @PrashantKumar-r7t
    @PrashantKumar-r7t 4 หลายเดือนก่อน +1

    Facing issue with data fetching. While returning the data is not by default converted into JSON format. What to do?

    • @user-uj4fx6qd5j
      @user-uj4fx6qd5j 22 วันที่ผ่านมา

      same issue data is not being fetched

    • @jadabailey2585
      @jadabailey2585 9 วันที่ผ่านมา

      was my issue, fixed with this line on top of the entity class, @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)

  • @PriyanshuSoni-e3e
    @PriyanshuSoni-e3e 6 หลายเดือนก่อน

    After using the "getProductById" function, the product screen still displays "Loading...". Is there an issue with the React code, or is there something I might have written incorrectly?

    • @GauravSharma-bl7nu
      @GauravSharma-bl7nu 5 หลายเดือนก่อน

      Everything is working perfectly. Please refer to the React UI code and the backend code for this video, which can be found in the video description.

    • @a-67namanchopra81
      @a-67namanchopra81 หลายเดือนก่อน +1

      make a note that its @GetMapping("/product/{id}") in the controller and not productS /{id}

  • @ShamanthAchar-u4f
    @ShamanthAchar-u4f 5 หลายเดือนก่อน

    Sir it is showing cannot redefine property: File error while iam running the front end file

  • @winwinindiamyindia9980
    @winwinindiamyindia9980 7 หลายเดือนก่อน

    Front end is angular or react?

    • @venukodam12
      @venukodam12 7 หลายเดือนก่อน

      React

  • @PolytechnicManualAnswer13
    @PolytechnicManualAnswer13 6 หลายเดือนก่อน

    sir getting error while runnning "npm run dev",sir please help to resolve it.also tried doing in the folder where all file are present but than also giving error of "vite permission denied".

    • @Gaurav-Telusko
      @Gaurav-Telusko 5 หลายเดือนก่อน

      First, make sure to run npm install before npm run dev. If this doesn't resolve the issue, try cloning the repository again.

    • @PolytechnicManualAnswer13
      @PolytechnicManualAnswer13 5 หลายเดือนก่อน

      Ok

  • @velank7181
    @velank7181 7 หลายเดือนก่อน

    frontend code doesn't in the description sir plz provide it

    • @Gaurav-Telusko
      @Gaurav-Telusko 5 หลายเดือนก่อน

      already present in description.

  • @aravindhank-it3950
    @aravindhank-it3950 7 หลายเดือนก่อน

    frontend code not in description bro please provide

    • @Telusko
      @Telusko  7 หลายเดือนก่อน

      Thanks for pointing out, added now.

    • @ronatkumarmuni4076
      @ronatkumarmuni4076 6 หลายเดือนก่อน

      Where it is?

  • @paidimarrigayatri1423
    @paidimarrigayatri1423 7 หลายเดือนก่อน

    Please provide link of react

    • @Gaurav-Telusko
      @Gaurav-Telusko 5 หลายเดือนก่อน

      link is available in video description.

  • @AdityaPoonia890
    @AdityaPoonia890 5 หลายเดือนก่อน

    missing script:dev error is occuring. but the script { dev:vite } is present in my package.json

    • @rishabhchand9848
      @rishabhchand9848 4 หลายเดือนก่อน

      Delete node modules folder and try npm install or npm i -> both are same

  • @PriyanshuSoni-e3e
    @PriyanshuSoni-e3e 6 หลายเดือนก่อน

    After using the "getProductById" function, the product screen still displays "Loading...". Is there an issue with the React code, or is there something I might have written incorrectly?

    • @GauravSharma-bl7nu
      @GauravSharma-bl7nu 5 หลายเดือนก่อน

      no issue. please clone the react ui again. link can be found in description for both frontend and backend.

    • @muditsinghal6042
      @muditsinghal6042 4 หลายเดือนก่อน

      Most probably the getmapping has issue, change it to /product/{id}