Forem

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?

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay