DIY Golang Web Server: No Dependencies Needed!

Описание к видео DIY Golang Web Server: No Dependencies Needed!

Building a web server from scratch without any third-party dependencies is so easy in Golang. And if you also need a 15-minute crash course about Golang, then I highly recommend watching this video here:    • Go from Zero to Hero: Learn Golang in...  


📝 Description
In this video, we explore how to build a web server with Golang without any dependencies. We delve into the new features brought by Golang 1.22 and test the HTTP module while constructing a server from scratch. Our web server is capable of retrieving, adding, and deleting users from a local database with no third-party dependencies involved. We also discuss potential improvements and optimizations that could be made to the code. If you're interested in learning about the basics of Golang, web servers, or just wanting to enhance your software engineering skills, this video is for you.


⏳ Timestamps:
00:00 - Introduction
01:14 - Create a Root Endpoint
05:49 - Create the POST endpoint (including Cache)
11:42 - Making the application thread-safe with a Mutex
13:53 - Create the GET endpoint
20:00 - Create the DELETE endpoint
22:22 - Test the web server
24:10 - Outro


👋 Hey there!
If you are new to this channel: Hey 👋 my name is Flo and I am a professional software engineer with a passion for coding in Golang, TypeScript, JavaScript, and Rust. This channel is where I share that passion and dive into the exciting world of software engineering. Plus, I love using emojis and paper-based animations (so have a look for that if you want to find my videos).


📨 Support and Connect!
Buy me a coffee: https://www.buymeacoffee.com/florianw...
Become a member.    / @flowoelki  
Discord:   / discord  
Instagram:   / flowydev  
LinkedIn:   / florian-woelki  
TikTok:   / florianwoelki  
GitHub: https://github.com/FlorianWoelki


📝 Copyright Notice
The original Go Gopher version is originally designed by Renée French (Source: https://go.dev/blog/gopher License details: https://creativecommons.org/licenses/.... The gopher used in the video and thumbnail is inspired by this author.


#golang #go #webserver

Комментарии

Информация по комментариям в разработке