Extend logs in Node.js with unique trace ID
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.
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.
Learning new technologies goes always better if you have something to test it on. When I wanted to start using AWS I decided to move there my blog (you are currently reading). And these are the steps it takes.
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.
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.
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.
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.
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.
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.
Couple of weeks ago I came across to this interesting rule and it is worth to think about it more deeply.
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.