#docker

2 posts in this collection

Fastify and Preact for quick web app prototyping

In this article I will show my setup to build and share web apps prototypes using Fastify and Preact , two technologies that I love. I will also use htm , a library that can be easily integrated with Preact to define DOM elements in a very expressive and react-like way (like JSX ), without having to use transpilers like Babel. Finally we will see how to dockerize a sample app built with this setup. This will make the app easy to share with co-workers and friends. I came up with this stack, few…

Simple echo server written in Go, dockerized!

In this post we will see how to write a (very) simple Go server app and how to put it into a Docker container and run it. Disclaimer : I’m an absolute beginner with both Go and Docker and this is just an experiment I did to start to explore this two interesting technologies. If you’ll find something weird or wrong you are very encouraged to scream at me in the comments ( Comments ), I will be extremely thankful ;) Introduction We are going to write a simple echo server in Go and then we will pack…