Build and Deploy Your First Laravel 11 API | Step-by-Step Beginner Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

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

  • @waquasraza
    @waquasraza 21 วันที่ผ่านมา +2

    Thank you so much for this video! 🙌 I'm from a MERN background and just started learning Laravel. I was stuck because the API files were missing in the latest version, and I had no idea about the changes. Your explanation cleared everything up, and I was able to successfully set up my REST API thanks to you. Keep up the great work-you’re a lifesaver for beginners like me! 🚀

    • @codewithSJM
      @codewithSJM  21 วันที่ผ่านมา

      Thanks my friend❤️ your welcome👍

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

    Nice tutorials!
    I think you should put a note in your video or rectify how data is being inserted when using thunder client or postman. You kept using query parameters even for the login and register routes instead of the request body.
    Also, I believe using route-model binding for getting, updating or updating individual data is much easier.

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

      Thanks, but there is no anywhere specifies that you must use request body and basically for beginners perspective I think, its easier for them to use query parameter rather than request body. And also using route-model binding, thats fine, in another tutorial fot intermidiate and advanced level I can demonstrate how to do it, but I'm sorry this was mainly for beginners and just basics. Thanks again I'll consider your views on my next videos.🙏

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

    Thanks for sharing this very insightful video please I have a question How can i make use of swagger for my API documentation in this project

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

      You can use this article as a starting point my friend :
      medium.com/@mark.tabletpc/set-up-laravel-with-swagger-for-comprehensive-api-documentation-step-by-step-instructions-d30552ca8051

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

    Thanks for sharing such valuable information! I have a quick question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How can I transfer them to Binance?

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

      I'm sorry! not sure! if I know any of what you are asking my friend! it'll be good if you'll seek assistance from someone who has used safePal before!🙏

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

    what extension you used for your vscode?

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

      I used Thunder Client for API testing but you can also install postman for vscode extension, it is also available!

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

      @@codewithSJM i mean for developing laravel ♥
      im using postman and and thunder also

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

      Ooh Great I have couple of them, as listed below
      1.IntelliPHP
      2.Laravel blade snippets
      3.Laravel goto view
      4. Laravel intelphese
      5.PHP (all in one)
      6.Composer
      7.vscode icons
      But you may not want to intall all of them you can opt to leave the ones that do the same thing like intelliPHP , you can opt just to use PHP all in one

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

      @@codewithSJM thank you very much
      +1 subs

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

      Thanks!🙏

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

    How to secure api endpoint anyone can access that using postman or curl how can we secure it make a video on that

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

      Good question, I will create another one advanced one that will cover all these features. Thanks for the query.

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

      @codewithSJM 😊 thank you sir ❤️

    • @sadiksikder7014
      @sadiksikder7014 8 วันที่ผ่านมา +1

      Use passport

    • @WEESPlayzZz
      @WEESPlayzZz 8 วันที่ผ่านมา +1

      @sadiksikder7014 can you explain please

    • @sadiksikder7014
      @sadiksikder7014 8 วันที่ผ่านมา +1

      @@WEESPlayzZz laravel by default provide sanctum which is good if your front end is spa. But it also has passport which you can install using php artisan install:api --passport command it's a oauth2 Implementation so using it as a middleware you can protect the endpoint. You can also implement your own authorization system but using passport is the best approach

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

    can you laravel passport for auth in laravel11 please

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

      Yeah, sure. I'll share when ready.

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

      @@codewithSJM awesome looking forward to it