I wrote a toy url shortener and people started using it

So yesterday I gave an introductory presentation on how to write web applications using Python, Flask and dokku. In my talk I shown how to go from zero to a fully functional application with a small but functional deployment environment based on Dokku. The nice thing I noticed is that people started using it, and… Continue reading I wrote a toy url shortener and people started using it

Advertisements

Testing Go applications with PostgreSQL and docker

I spawn and terminate docker containers automatically with Jenkins. This allowed me to have a lighter application and to keep my testing environment closer to the live environment. In this post I describe how I did this. The problem A problem i recently faced was how to build continuous integration for a web application I… Continue reading Testing Go applications with PostgreSQL and docker

Gin-gonic improvements

While writing simple web applications using gin-gonic web framework, there are some things that should be improved, in my opinion: Ideas Static file serving: it should be improved to use browser caching, according to https://developers.google.com/speed/docs/insights/LeverageBrowserCaching Default values for templates rendering: there are some values that I am going to need in pretty much every template… Continue reading Gin-gonic improvements