DEV Community

Cover image for Turning Rainy Days into Productive Coding: Building a Custom Web Server and File Monitor in Go
Volker Schukai
Volker Schukai

Posted on • Edited on

Turning Rainy Days into Productive Coding: Building a Custom Web Server and File Monitor in Go

Once Upon a Time

Today was a rainy day, so what do you do on a day like this? Right! Programming.

Since I often have to deal with JavaScript and the current solutions always kind of annoyed me, I wanted to build my own implementation.

This should not be a big project, but rather a small finger exercise. And actually I want to learn something new.

But learning on dry land is always a bit boring, so I like to combine both. How do you do that?

So I combine learning with writing a little tool. A small web server that can also monitor file changes. I know something like this already exists, but for me it's always about real results in addition to fun.

The web server is a one-liner in Go and will not be looked at in detail here. Or maybe later.

I described in another article how to monitor file changes and in another article how the program works.

the cat

**All in all, a successful rainy Sunday.

How was your Sunday? Did you learn anything new?

Top comments (0)

This post blew up on DEV in 2020:

js visualized

🚀⚙️ JavaScript Visualized: the JavaScript Engine

As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! 🥳

Happy coding!

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay