Setting up an Express.js App with TypeScript in 2024
This hour-long video doesn’t focus on building an Express.js app itself, but on getting everything set up and working in a very clear, easy to follow way with a variety of modern - https://www.youtube.com/watch?v=Be7X6QJusJA
#nodejs
This hour-long video doesn’t focus on building an Express.js app itself, but on getting everything set up and working in a very clear, easy to follow way with a variety of modern - https://www.youtube.com/watch?v=Be7X6QJusJA
#nodejs
YouTube
Express JS with TypeScript - Setup, Examples, Testing
*DISCLAIMER*This is NOT a full in depth tutorial on Express JS. It is only designed to walk you through the setup process of installing TypeScript, getting i...
A Beginner's Guide to Worker Threads in Node
Worker threads provide a way to create independent JavaScript execution threads that run in parallel. - https://betterstack.com/community/guides/scaling-nodejs/nodejs-workers-explained/
#nodejs
Worker threads provide a way to create independent JavaScript execution threads that run in parallel. - https://betterstack.com/community/guides/scaling-nodejs/nodejs-workers-explained/
#nodejs
Betterstack
A Beginner's Guide to Node.js Worker Threads | Better Stack Community
Node.js is more suitable for I/O-heavy workloads, but this doesn't mean you can't run CPU-heavy operations efficiently. Worker threads provide a way to do just that!
Parsing Hacker News's 'Who's Hiring' Threads with OpenAI and Node - https://www.jbernier.com/p?id=hn-who-is-hiring-chatgpt
#nodejs
#nodejs
Jbernier
Jeremy Bernier
Jeremy Bernier - Software Engineer, Builder, Thinker, World Traveler
Comparing ECMAScript Modules (ESM) with CommonJS - https://wanago.io/2024/03/18/ecmascript-modules-esm-commonjs/
#nodejs
#nodejs
Marcin Wanago Blog - JavaScript, both frontend and backend
Comparing ECMAScript Modules and CommonJS
We compare ECMAScript Modules (ESM) and CommonJS and use them in TypeScript and Node.js
Hexagonal Architecture with Nest.js and TypeScript
Understanding Hexagonal Architecture - https://kisztof.medium.com/hexagonal-architecture-with-nest-js-and-typescript-f181cc7b6452
#nodejs
Understanding Hexagonal Architecture - https://kisztof.medium.com/hexagonal-architecture-with-nest-js-and-typescript-f181cc7b6452
#nodejs
Medium
Hexagonal Architecture with Nest.js and TypeScript
Understanding Hexagonal Architecture
Advanced Transaction Management with NestJS & TypeORM
If you want to follow along easier in the advanced transaction management part, clone the… - https://medium.com/@dev.muhammet.ozen/advanced-transaction-management-with-nestjs-typeorm-43a839363491
#nodejs
If you want to follow along easier in the advanced transaction management part, clone the… - https://medium.com/@dev.muhammet.ozen/advanced-transaction-management-with-nestjs-typeorm-43a839363491
#nodejs
Medium
Advanced Transaction Management with NestJS & TypeORM
IMPORTANT NOTE:
If you want to follow along easier in the advanced transaction management part, clone the following repository…
If you want to follow along easier in the advanced transaction management part, clone the following repository…
__dirname is Back in Node with ES Modules
In an ES module, instead of using __dirname or __filename, you can now use import.meta.dirname and import.meta.filename - https://www.sonarsource.com/blog/dirname-node-js-es-modules/
#nodejs
In an ES module, instead of using __dirname or __filename, you can now use import.meta.dirname and import.meta.filename - https://www.sonarsource.com/blog/dirname-node-js-es-modules/
#nodejs
Sonarsource
__dirname is back in Node.js with ES modules
Node.js is reducing friction when using ES modules by making it easier to get the current module directory name
Building a Micro HTMX SSR Framework
Matteo builds on an earlier tutorial about creating a ‘movie quotes’ app by exploring an alternative stack to use, based upon Fastify, Vite and HTMX. - https://blog.platformatic.dev/building-a-micro-htmx-ssr-framework
#nodejs
Matteo builds on an earlier tutorial about creating a ‘movie quotes’ app by exploring an alternative stack to use, based upon Fastify, Vite and HTMX. - https://blog.platformatic.dev/building-a-micro-htmx-ssr-framework
#nodejs
Platformatic Blog
Building a Micro HTMX SSR Framework
In the Movie Quotes App Tutorial tutorial from Platformatic's documentation suite, we walked through building a multi-tier application with the service layer built on Fastify backed by Platformatic DB and the frontend built on Astro.
In this tutorial...
In this tutorial...
Node.js Debugging in Chrome DevTools
If Chris didn’t know how to do it, I’m going to predict many readers don’t either, so his simple example of setting it up might be helpful - https://frontendmasters.com/blog/node-js-debugging-in-chrome-devtools/
#nodejs
If Chris didn’t know how to do it, I’m going to predict many readers don’t either, so his simple example of setting it up might be helpful - https://frontendmasters.com/blog/node-js-debugging-in-chrome-devtools/
#nodejs
Frontendmasters
Node.js Debugging in Chrome DevTools – Frontend Masters Boost
I was pairing with my co-worker last week. They had a super different debugging style than I do. I’m aware that I can do fancy things in DevTools, like set breakpoints and whatnot right from within DevTools and use well-placed debugger; statements to halt…
Migrating 500+ Tests from Mocha to Node.js
A quick retrospective of how the Astro team migrated more than 500 test suites from Mocha to the Node.js test runner. - https://astro.build/blog/node-test-migration/
#nodejs
A quick retrospective of how the Astro team migrated more than 500 test suites from Mocha to the Node.js test runner. - https://astro.build/blog/node-test-migration/
#nodejs
Astro
Migrating 500+ tests from Mocha to Node.js | Astro
A retrospective of how Astro migrated more than 500 test suites from Mocha to Node.js test runner.
How to Implement Rate Limiting in Express.js
A practical walk through a simple setup. A viable option against certain bots and users, though not a universal solution for DDoS or determined attackers. - https://blog.appsignal.com/2024/04/03/how-to-implement-rate-limiting-in-express-for-nodejs.html
#nodejs
A practical walk through a simple setup. A viable option against certain bots and users, though not a universal solution for DDoS or determined attackers. - https://blog.appsignal.com/2024/04/03/how-to-implement-rate-limiting-in-express-for-nodejs.html
#nodejs
Appsignal
How to Implement Rate Limiting in Express for Node.js | AppSignal Blog
We'll explore the ins and outs of rate limiting and see why it's needed for your Node.js application.
A Trip Report from the Latest Node.js Collaboration Summit
Twice a year, Node's collaborators and community members meet at collaboration summits to share knowledge, discuss problems, and flesh out new ideas. The last one took place in London earlier this month and featured discussion on Node’s HTTP stack, a new node --run feature, ES modules support, package management, and more. A good update! - https://nodejs.org/en/blog/events/collab-summit-2024-london
#nodejs
Twice a year, Node's collaborators and community members meet at collaboration summits to share knowledge, discuss problems, and flesh out new ideas. The last one took place in London earlier this month and featured discussion on Node’s HTTP stack, a new node --run feature, ES modules support, package management, and more. A good update! - https://nodejs.org/en/blog/events/collab-summit-2024-london
#nodejs
nodejs.org
Node.js — Trip report: Node.js collaboration summit (2024 London)
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Profiling Node Performance with Chrome's Performance Panel
Learn how to profile Node.js performance with the Performance panel in Chrome. - https://developer.chrome.com/docs/devtools/performance/nodejs
#nodejs
Learn how to profile Node.js performance with the Performance panel in Chrome. - https://developer.chrome.com/docs/devtools/performance/nodejs
#nodejs
Chrome for Developers
Profile Node.js performance with the Performance panel | Chrome DevTools | Chrome for Developers
Learn how to profile Node.js application performance with the Performance panel.
An Introduction to the Node.js Performance API
The perf_hooks module provides a subset of the W3C Web Performance APIs and additional APIs for Node-specific perf measurements. This guide shows how to use several of its features. - https://betterstack.com/community/guides/scaling-nodejs/performance-apis/
#nodejs
The perf_hooks module provides a subset of the W3C Web Performance APIs and additional APIs for Node-specific perf measurements. This guide shows how to use several of its features. - https://betterstack.com/community/guides/scaling-nodejs/performance-apis/
#nodejs
Betterstack
An Introduction to the Node.js Performance API | Better Stack Community
Learn all about the Node.js performance measurement APIs and how to use them to track various metrics across the entire lifespan of your servers
Building a CLI from Scratch with TypeScript and oclif
oclif is a mature CLI tool development framework maintained by Salesforce. This tutorial goes from zero to something that works. - https://www.joshcanhelp.com/oclif/
#nodejs
oclif is a mature CLI tool development framework maintained by Salesforce. This tutorial goes from zero to something that works. - https://www.joshcanhelp.com/oclif/
#nodejs
Josh Can Help
Building a CLI from scratch with TypeScript and oclif
I'm building a pair of CLI programs in TypeScript and decided to use oclif for flag parsing and releasing. I needed something more than the getting started doucmentation they had so I wrote it myself.
The April 10 Node.js Security Releases
Another week, another set of security releases, made up of v18.20.2 (LTS), v20.12.2 (LTS), and v21.7.3 (Current). The main issue relates to a command injection vulnerability on Windows. - https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2
#nodejs
Another week, another set of security releases, made up of v18.20.2 (LTS), v20.12.2 (LTS), and v21.7.3 (Current). The main issue relates to a command injection vulnerability on Windows. - https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2
#nodejs
nodejs.org
Node.js — Wednesday, April 10, 2024 Security Releases
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Node.js: A Documentary of Its Origin Story
It's an hour long, but this documentary covers the history of Node particularly well, including how everything brewed up to the io.js fork of 2014. Easter weekend watching, perhaps? - https://www.youtube.com/watch?v=LB8KwiiUGy0
#nodejs
It's an hour long, but this documentary covers the history of Node particularly well, including how everything brewed up to the io.js fork of 2014. Easter weekend watching, perhaps? - https://www.youtube.com/watch?v=LB8KwiiUGy0
#nodejs
YouTube
Node.js: The Documentary | An origin story
Back in 2008, most people thought of JavaScript as just a client-side language. But when Google's V8 appeared, young developer Ryan Dahl made the connection between non-blocking servers, V8, and JavaScript. It was by combining these key elements that he was…
Top Node.js Tools for Production
Helios, Sentry, AdonisJS, FeathersJS, and more - https://javascript.plainenglish.io/top-node-js-tools-for-production-5dcf9f2be1c3
#nodejs
Helios, Sentry, AdonisJS, FeathersJS, and more - https://javascript.plainenglish.io/top-node-js-tools-for-production-5dcf9f2be1c3
#nodejs
Medium
Top Node.js Tools for Production
Helios, Sentry, AdonisJS, FeathersJS, and more
Best Structure For Node.js Project.
Optimizing Code Organization and Scalability in Node.js - https://itnext.io/best-structure-for-node-js-project-468c74410801
#nodejs
Optimizing Code Organization and Scalability in Node.js - https://itnext.io/best-structure-for-node-js-project-468c74410801
#nodejs
Medium
Best Structure For Node.js Project.
Optimizing Code Organization and Scalability in Node.js