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 • Updated 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)