Why do you need an init process inside your Docker container (PID 1)When you run your application inside a Docker container, it will be assigned process identifier (PID) 1. This particular PID is special in the Unix world. PID 1 is assigned to the very first process that the kernel starts, therefore it takes a specia...7 min read·daveiscoding.comSep 7, 2022
Separate Node.js unit, integration, and E2E tests using Jest projectsThe classic test pyramid is made up of the unit, integration, and end-to-end tests. Unit tests are supposed to run fast after each change in your IDE and give immediate feedback. In contrast, integration and E2E tests are slow and are run on-demand. ...8 min read·daveiscoding.comAug 22, 2022
Node.js TypeScript monorepo via NPM workspacesMonorepos are all the rage right now. Build a Node.js TypeScript monorepo without all the complex tools - using only NPM workspaces.5 min read·daveiscoding.com2SSAug 14, 2022
My feelings about Go after spending a weekend togetherI had a great weekend following the Learn Go with Tests online book. I spent about 15 hours going through the book and firing up a few practice projects. I know it’s not a lot to conclude, but I had enough experience with other languages to find the ...4 min read·daveiscoding.comFeb 17, 2021
Setting up Prettier in a Create React App projectInstall dependencies # Yarn yarn add -D prettier eslint-config-prettier eslint-plugin-prettier # NPM npm install -D prettier eslint-config-prettier eslint-plugin-prettier By default your eslintConfig looks like this: "eslintConfig": { "extends"...2 min read·daveiscoding.comDec 20, 2020