How To Build a Complete API In Golang (Docker, JWT, MySQL)
YouTube Viewers YouTube Viewers
5.25K subscribers
22,261 views
0

 Published On Feb 21, 2024

► Join the private community to level up as software engineer: https://selfmadeengineer.com

In this video we're going to be building a complete REST API in Golang using JWT, MySQL and at the end dockerize the whole thing so we can ship it to the cloud.

Links:
Patreon:   / tiagotaquelim  
Discord:   / discord  
Github: https://github.com/sikozonpc/

Resources:
Project source code: https://github.com/sikozonpc/go-rest-api
Direnv (for envs variables loading): https://direnv.net/
More complex production example:    • Complete Backend API in Golang (JWT, ...  

Hope you liked and thanks for watching!

Time Stamps 👇
00:00:00 Intro
00:01:31 API Server
00:05:46 Database
00:11:28 Env vars sourcing
00:14:04 Tasks Service
00:24:42 Functional testing tasks
00:26:10 Unit testing the tasks service
00:38:00 Add JWT authentication
00:47:21 Functional testing auth
00:47:50 User register endpoint
00:56:05 Docker service

Video titles ideas (for the algo):
REST API in Golang
Building a JSON API in Golang
How to build a REST API in Golang

show more

Share/Embed