Build a RESTful CRUD API with Golang Gin and Gorm

Sdílet
Vložit
  • čas přidán 12. 01. 2023
  • As a web developer, building APIs or frontend applications that interact with other APIs is one essential project you can undertake to improve your skills or add to your portfolio to attract potential employers.
    This article will teach you how to create a CRUD RESTful API in a Golang environment that runs on a Gin Gonic server and uses a PostgreSQL database.
    We’ll also discuss how you can build models, connect to the running SQL database server, and run database migrations with the GORM library.
    code here:
    github.com/lemoncode21/golang...
    #golang #gin #gorm

Komentáře • 14

  • @kiattisakphanphu3823
    @kiattisakphanphu3823 Před 11 měsíci +1

    i like this video, It's the structure I'm looking for, thank you so much.

  • @samsrec6060
    @samsrec6060 Před 2 měsíci +1

    Please create a fullstack application, i learned a lot from you. Thank you!

  • @user-cn5cl6un1q
    @user-cn5cl6un1q Před 10 měsíci +1

    thank you. it works well

  • @webertlopescancado7140
    @webertlopescancado7140 Před 11 měsíci +3

    what is the name of your extension vs code for terminal ?

  • @bachphanvan3361
    @bachphanvan3361 Před rokem +1

    truly appreciated, what a great tutorial ! I have a question, can we use gorm for data table creation ? Could you please make a video about it ? thank you so much

  • @TechDoctorMalayalam
    @TechDoctorMalayalam Před 6 měsíci +2

    Everyone wants know about terminal. That's the power of Linux

    • @minoakkyaw
      @minoakkyaw Před 5 měsíci

      What is that have to do with Linux. You are making the use of Linux sounds like all about the customization. And he is not even on the Linux. That is windows. Look closely.

  • @luthfiroma3665
    @luthfiroma3665 Před rokem +1

    mantap bg 🙏, ada tutor indo nya gk bang supaya clean code kaya gini agak pusing mahaminnya?

  • @abolagalpo
    @abolagalpo Před 9 měsíci +1

    how the database is getting connected?

  • @TyoPras1407
    @TyoPras1407 Před rokem +2

    how to get your pwsh theme

  • @lostntiredl488
    @lostntiredl488 Před 6 měsíci +1

    Isn't it too much to retrurn panic if there was an error every time? It is better to use it only in critical situations...

  • @go_lang_thang
    @go_lang_thang Před 10 měsíci +1

    how to make terminal like you.... ? ? ?

  • @ChengPhansivang
    @ChengPhansivang Před měsícem

    what music is this brother ?

  • @justanaveragebalkan
    @justanaveragebalkan Před 2 měsíci +1

    That right there is how you write apis in Java and C#, it's not idiomatic go, your doing it wrong keep it simple.