How to create frontend images with environment variables

Environment variables are a standard way to parametrize backend containers. For some reason, they haven’t seen wide adoption on the frontend side, which just as much requires customization. Both React and Vue still recommend creating separate .env files for different environments, which is unwieldy at best if you want to containarize the application. In this tutorial, I will guide You through an opinionated way to create environment agnostic frontend images in React....

January 24, 2021 · 3 min

How to correctly position context menus using pure CSS

Introduction I was recently challenged with a pretty common, and a simple problem of positioning a custom context menu. When you DuckDuckGo how to position a context menu phrase you will be greeted with solutions that either: don’t consider boundary conditions or use JavaScript to check the conditions and position the menu accordingly. The issue with the first solution is that it’s not great in terms of User Experience....

August 11, 2020 · 2 min

Using Google Apps Scripts for a simple backend

I’m not that much of a frontend guy, but I was encouraged by the technology pace used in browsers to play with it. My goal was simple - create a website that imitates a native app. I didn’t have any brilliant ideas at the time therefore my choice fell on a simple student app for my school featuring: Timetable (group filtered) (the original plan is in excel format) Lucky number - every student in a group has it’s number assigned based on alphabetical order of his name and every day a number is drawn resulting in some protection from lack of homework and small unannounced exams News scraped from school’s website rss Teachers quotes - students have made a facebook page which stores funny teacher statements I needed a backend for it, and it’s what this article is all about....

March 20, 2016 · 4 min