Рет қаралды 51,775
► Checkout the channel community with exclusive courses: selfmadeengineer.com
In this course we're going to be building a production-ready E-commerce REST API in Go using JWT authentication, we'll be testing our services and connecting our server to a MySQL. We'll build everything from scratch so that I teach you just enough for you to be able to go on your own and not having to watch another video on how to build APIs in Go.
►Resources:
Source code: github.com/sikozonpc/ecom
Improvement Exercises: github.com/sikozonpc/ecom/blo...
👉 Join the private community to level up as software engineer: selfmadeengineer.com
📢 We're building a Discord community, come and join
/ discord
🙋🏼♂️ Socials:
X: x.com/TiagoFe01662401
Github: github.com/sikozonpc
Hope you liked and thanks for watching!
Time Stamps 👇
00:00:00 Intro
00:02:40 HTTP Server setup
00:07:00 User service
00:11:00 Database Connection & Envs
00:18:45 Registering users
00:36:07 Testing the user registration
00:47:48 Database migrations
00:56:20 User login
01:00:20 JWT Authentication
01:06:54 Products service
01:11:25 Checkout endpoint
01:27:00 Checking logged-in users
#golang #backend #api #jwtapi
Video titles ideas (for the algo):
REST API in Golang Beginner Tutorial
Building a JSON API in Golang
How to build a REST API in Golang