September 17, 2020

I moved from Ghost to Jigsaw.

Recently I decided to swtich from Ghost ghost blogging engine to static site generator Jigsaw. Well, Ghost is all nice and good, but I got bored and wanted to try something new, it is great for people who are not technical. Don’t get me wrong. I...

Read

May 3, 2020

NestJS, TypeORM and MySQL

I have been using Nest with MySQL. As ORM I used TypeORM for every project. Definitely I've hit some road blocks on TypeORM and MySQL. I think TypeORM is the best choice for ORM in node as of now, but apparently if you use JSON column for your entity...

Read

March 3, 2020

NestJS is it worth it?

The folder structure in Nest is heavily based/and inspired by Angular If you're a fan of strongly typed languages you will appreciate its built with Typescript It's fast Annotation-driven Debugging is sometimes pain. ( Mostly because of TypeORM )....

Read

February 29, 2020

NestJS validation constraints

If you're coming from Laravel, you're probably used to simple validation rules that ease developers life with confirmed rule. On NestJs there is no such rules. On top of that to make NesJs more flexible it uses class-validator package which you can add...

Read

February 14, 2020

PHP find array key recursively

Today I had an issue where I needed to find a key in multidimensional array. It took trial and error ant some googling around, but this is what I found. Probably will come handy in the future. No recursive functions calling itself etc. Lopping array...

Read

February 2, 2020

Install Magento 2 with Nginx on Laravel Forge

Create site at Laravel Forge control panel set web directory to /pub ssh into your server get Magento via composer setup proper file permissions Now if you hit your domain url. If you're unlucky you won't see an installation wizard....

Read

October 10, 2019

NestJs Microservice exception handling

Microservices is this concept of breaking up a monolith into a smaller pieces to make project more manageable. Today's tip is about how to handle errors in NestJs microservice architecture. For an example lets use Redis as a proxy between other...

Read

January 18, 2019

TypeORM query nested relationship

Sometimes you have a data model where object has a relationship few levels deep. For example: It is a style preference, but I like to use TypeORM as active record. So all my entities ussualy extends BaseEntity So to reference nested relationships...

Read

June 30, 2018

It's been a while.

I know that I didn't post anything in a while, but it was a lot going on in the mean time. Apple's world wide developers conference where apple announced iOS 12 and macOS Mojave. Nothing ground breaking, but it seems that they focused more on fixing...

Read

February 29, 2020

NestJS validation constraints

If you're coming from Laravel, you're probably used to simple validation rules that ease developers life with confirmed rule. On NestJs there is no such rules. On top of that to make NesJs more...

Read

February 14, 2020

PHP find array key recursively

Today I had an issue where I needed to find a key in multidimensional array. It took trial and error ant some googling around, but this is what I found. Probably will come handy in the future. No...

Read

February 2, 2020

Install Magento 2 with Nginx on Laravel Forge

Create site at Laravel Forge control panel set web directory to /pub ssh into your server get Magento via composer setup proper file permissions Now if you hit your domain url....

Read

October 10, 2019

NestJs Microservice exception handling

Microservices is this concept of breaking up a monolith into a smaller pieces to make project more manageable. Today's tip is about how to handle errors in NestJs microservice architecture. For an...

Read

June 30, 2018

It's been a while.

I know that I didn't post anything in a while, but it was a lot going on in the mean time. Apple's world wide developers conference where apple announced iOS 12 and macOS Mojave. Nothing ground...

Read