How To Build A Complete JSON API In Golang (JWT, Postgres, and Docker) Part 2

preview_player
Показать описание
In this series, I will teach you how to build a complete industry-ready JSON API project in Golang with JWT authentication, Postgresql, and Docker. We are going to build a bank API and build everything from scratch with only the mandatory packages we actually need. We are also going to write tests for each of our HTTP handlers. If you want to learn Golang or Rust consider subscribing to my channel so you can become a high-value engineer.

This golang tutorial is something for you if you are willing to learn about Golang testing, Golang project structure, and how to use Docker with Golang.

📢 I am also building a Discord community! Feel free to join if you are willing to learn about blockchain, web3, Defi, and quantitative trading. Or just hang out and chat.

► Support me on PATREON and get access to exclusive lessons, tutorials, and LIVE streams

► Join my Discord community for free education

► Follow me on GitHub

► Follow me on Twitter

#golang #docker
Рекомендации по теме
Комментарии
Автор

👉 Join the Discord community for blockchain, distributed systems, Golang, and Rust education:

👉 Support me on Patreon for even more exclusive videos, vlogs, and tutorials:


Thanks for watching <3

anthonygg_
Автор

About the "_" (underscore) in imports - Generally used when you want to load a library and run its scripts without having anything to do with what it returns.

Great series of tutorials. You are amazing!

shivamshekhar
Автор

That is the best tutorial I have seen in my life, this is actually what happens and how we build applications. All tutorials that I have watched all examples were already preprogrammed, and the professor never shows how it is real process of building application. I really loved these 5 Go videos.

leofreiitas
Автор

You are a very energetic teacher. Thank you for your videos 🔥

mellkam
Автор

I love the way you teach. You keep the vibe as casual as possible that I enjoy the lesson till I finish this video. Keep it up man

programmermiskin
Автор

This is one of the best tutorials in GO back-end.

dheerajnunni
Автор

Thx for the video man, really helping to absorb the experience for my go development.
When starting on a new language the best way to learn how to do things is to see how other people does, and not try to push my own way of thinking coming from other languages.

douglashoffmann
Автор

I can see a uniqueness in your videos. thank you for the videos.

vijeyash
Автор

In a few hours, I followed the first two videos today. I tried to take my time to fully understand and it's really incredible how much we did in two videos!
You're a killer Anthony!

unknownplayer-ci
Автор

Tip: If you create a type serial on your postgresql table, it actualy create a sequence to that column and the default value will be aways a nextval(''table_name_column_name_seq'), is really good for ID's and sequencials, but in this example for a balance, every time you insert a account if you not specify balance = 0, the balance will be the nextval of the sequence xD

Thanks for this video btw, you are helping me alot :D

caiocesarmelolopes
Автор

The problem was not with w.Header().Set() or it was with you had to call w.WriteHeader(status) after setting content type.
Great content. Thanks.

parthokr
Автор

"you are a package slave, you don't know shit"
*googles SQL create table command*

haha love this series, you've got a great teaching style I'm learning a lot. BTW, I've got an annie pro 60% and the backtick is FN+esc on there

MorbidPasta
Автор

Thank you for sharing those things! I'm not good at English, but I've finished making this project with your video!

Actually, I don't grasp how the framework works under the hood so far. These days, I'm trying to read the framework or library code to understand how it works under the hood. Thank you, Anthony. It's a really nice lecture I've ever seen before, To learn how to make a REST API Server with Go!

I wish that If I were good at English, I'll make the lecture like this!

roach_jsh
Автор

great series, love the minimal use of frameworks/libraries

coscoexotic
Автор

Buddy i've learnt lotta things from you ty! btw, it's an interesting rule. first make it to work then make it better ultimitly make it fast.

mbydokht
Автор

This man so fun, I love your videos. Thanks

ThangTran-hies
Автор

Thanks a lot for making this series, I've enjoyed it and it's helped reinforce some things for me (between drinking many margaritas)

nodidog
Автор

Thanks a
You are as awesome as your contents....
Thanks again....

shomikhan
Автор

Thank you 🙏.
_ package -> the underscore following the package is for side effect only with out calling any method from it.

minilikshumete
Автор

great tutorial, love the energy and style! subscribed hope you got the autocomplete fixed eventually in this series 💀

mellow-meanderings