Skip to main content

Extend logs in Node.js with unique trace ID

· 3 min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

When number of requests to an application grows, it might be hard to read logs and group them together to one single request. This can be solved with trace ID that is unique for each request.

Non-root containers in Kubernetes

· 2 min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

Container should be able to perform only a very limited set of operations and it is highly recommended to use different user from root. To achieve this both docker file and kubernetes config must be changed.

Run simple Node.js application in Kubernetes cluster

· 8 min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

Write simple Node.js backend using TypeScript, Express and Terminus and run it in Digital Ocean Kubernetes cluster. In the end you will have application which is running in multiple replications and has access to environment variable passed to the application by Kubernetes secret.

Web Summit 2021

· 2 min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

This week, 1 - 4 November, Web Summit conference held in Lisbon, Portugal. Me and two other colleagues from Kontentino were there to present Kontentino and listen to some speakers.

Build Node, Typescript and GraphQL server from scratch

· 5 min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

A brief tutorial how to create a Node, TypeScript and GraphQL server from scratch with MySQL database. The ouput is a very basic GraphQL server, which you can run, send a simple query to it and get a response. The whole project is available on GitHub.

Publish NPM package with GitHub Actions

· 3 min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

On couple of my projects, I started using GitHub Actions. I also wanted to use it for pentest-tool-lite, where I want to run TypeScript lint after each push and publish it to npm after release is created. I had some problems which I recently solved, so I am sharing my solution.

My StartUp Experiences

· 4 min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

Currently I have one full time job and in my free time I am working on two StartUps. One of them is based in US and the second one is in Slovakia. Both are the same size (3 - 5 people), main project is a web application, but the approach is different.

Chesterton's fence

· One min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

Couple of weeks ago I came across to this interesting rule and it is worth to think about it more deeply.

How to install XDebug on MacOS (XAMPP)

· 2 min read
Matej Jelluš
IT enthusiast that loves to write code and trying new things. Currently working in Bratislava as CTO in Kontentino.

When you want to create codecoverage report with phpunit, you need to have XDebug installed otherwise you get just error "No code coverage driver is available". I successfully installed it on Windows but I had lot of issues installing it on MacOS.