#​400 — August 5, 2021

Read on the Web

Node Weekly

40+ Node.js Integration Test Best Practices — Component and integration tests are increasingly popular testing techniques for backends. This repository digs into a variety of quick-fire patterns and practices for creating good component tests. There’s also a demo app and examples using Jest, Mocha, Express, Fastify and Nest.js.

Yoni Goldberg, Michael Solomon, and Daniel Gluskin

▶  NestJS Explained in 100 Seconds — The high-level concepts of Nest, a framework for building scalable Node.js applications that offers more beyond what you might get with something like Express or Fastify alone, presented in around two minutes.

Fireship

Transfer Your JavaScript Skills to The Server-Side — ..in this detailed Node.js course by Scott Moss covering all the things you need (CLI, Packages, Servers, etc) to level yourself up to a full-stack or back-end engineer.

Frontend Masters sponsor

Node v16.6.x (Current) Released — The latest release brings V8 9.2 to the party which introduces Array.prototype.at. The inspector module (used to interact with the V8 inspector is now also considered stable. While I wanted to feature these changes, note that v16.6.1 came out shortly thereafter to resolve some security issues.

Bethany Nicolle Griggs

⚠️ Note that Node v14.17.4 (LTS) and v12.22.4 (LTS) have also been released to fix an http2 related security issue.

How to Use RabbitMQ and Node with Docker and Docker Compose — A straightforward example of setting up a Node app to use RabbitMQ as both a consumer and producer, and using Docker to spin up an instance quickly.

Geshan Manandhar

Microservices Authentication Strategies: Theory to Practice — Some theory and then some practice using OpenID Connect, Google Cloud, and a Node + React app with authentication.

Tom Zach

Understanding and Preventing Common Security Vulnerabilities

Buildkite sponsor

How to Send Emails with Node using SendGrid — Looks at how to use SendGrid, a third-party email SaaS, to send order confirmation emails to customers.

Geshan Manandhar

A VPS Showdown: DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr — If you want to run a small app on a simple and cheap VPS, these sorts of benchmarks could prove illuminating.

Josh Sherman

🛠 Code & Tools

Tempura: A Light, Crispy, and Delicious Template Engine — Great name! It features speed, it comes in at 1.26KB gzip’d, and resembles Handlebars in syntax.

Luke Edwards

Typegoose 8.0: Define Mongoose Models using TypeScript Classes — If you’re a Node developer and using Mongoose and want to be using TypeScript, this is for you.

Typegoose

Beyond onClick: Handling Events in React

Lightstep sponsor

pg-promise: Promise-Based Interface for PostgreSQL — Builds on top of node-postgres and adds automatic connections and transactions, query generation, and more.

Vitaly Tomilov

Sift: Use MongoDB Style Queries on JavaScript Objects — I can’t quite put my finger on the use case here, but you may have one.

Craig Condon

AutoMapper 5.0: An Object-Object AutoMapper for TypeScriptGitHub repo.

Chau Tran

💻 Jobs

Backend Engineering Positions - Remote 🏖 — Passion for performance and scalability? Like GraphQL? Join in building a super fast headless eCommerce service developers love.
Crystallize

Node.js Developer at X-Team (Remote) — Join the most energizing community for developers and work on long-term projects for Riot Games, FOX, Sony, Coinbase, and more.
X-Team

Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers.
Hired