Dec 18, 2024 · 6 min read · Setup : Libraries Installation and Setup npm i -d @types/node tsx typescript npx tsc --init Change tsconfig.json and package.json // tsconfig.json { "compilerOptions": { "target": "es2016", "module": "ES6", "moduleResolution": "nodenex...
Join discussion
Oct 20, 2024 · 7 min read · In Node.js, events play a central role in handling asynchronous operations, which are crucial for building efficient and scalable applications. At the core of event-driven architectures is the EventEmitter class, which enables objects to emit events ...
Join discussion
Oct 2, 2024 · 8 min read · NestJS is a progressive Node.js framework that provides an out-of-the-box application architecture, making it ideal for building highly scalable, maintainable, and testable applications. One of its lesser-discussed but highly useful features is the E...
Join discussion
Oct 2, 2024 · 7 min read · What’s the need for cronjobs in project? The project focused on scheduling appointments between doctors and patients. The scheduling pattern considered is stream scheduling. Since it was a backend project, the chosen technology stack included: NestJ...
Join discussion
Feb 17, 2024 · 6 min read · Introduction Upon visiting this article, you might wonder how can Go have NodeJS like event contructs. Well, the reality is that Go has support for event driven architecture or Observer Pattern just like NodeJS, but not in a typical Node fashion. I e...
Join discussion
Dec 28, 2023 · 21 min read · In synchronous programming, we conceptualize code as a series of consecutive computing steps that solve a specific problem. Every operation is blocking, which means that only when an operation is completed, it is possible to execute the next one. Thi...
Join discussionNov 18, 2023 · 2 min read · Just like JavaScript has the event-driven programming technique for the browser side, Node.js has it on the server side. Events are used heavily in Node.js. Setting up the event is similar to the browser-side JavaScript: First, we need to listen to ...
Join discussion
Apr 1, 2023 · 1 min read · Node.js is the ideal platform for event-driven apps Using Node.js events On a computer, every action is an event. similar to the opening of a file or establishing a connection. Node.js comes with an integrated module named "Events" that allows you to...
Join discussion