---
title: "NestJS explained in 100 seconds"
publication: "Node Weekly"
issue: 400
published_at: "2021-08-05"
canonical_url: "https://nodeweekly.com/issues/400"
---

Plus several Node releases, a VPS showdown, and more. |        

#​400 — August 5, 2021 

[Read on the Web](https://nodeweekly.com/issues/400)   

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/hvc5tplbxyannptpb3ei.jpg)](https://github.com/testjavascript/nodejs-integration-tests-best-practices)   

[40+ Node.js Integration Test Best Practices](https://github.com/testjavascript/nodejs-integration-tests-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](https://www.youtube.com/watch?v=0M8AYU_hPas) — The high-level concepts of [Nest](https://nestjs.com), 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   [![\](https://copm.s3.amazonaws.com/dee4d20b.jpg)](https://frontendmasters.com/courses/node-js-v2/?utm_source=nodeweekly&utm_medium=email&utm_campaign=nodejs) 

[Transfer Your JavaScript Skills to The Server-Side](https://frontendmasters.com/courses/node-js-v2/?utm_source=nodeweekly&utm_medium=email&utm_campaign=nodejs) — ..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](https://nodejs.org/en/blog/release/v16.6.0/) — The latest release brings [V8 9.2](https://v8.dev/blog/v8-release-92) to the party which introduces `Array.prototype.at`. The [`inspector` module](https://nodejs.org/api/inspector.html) (used to interact with [the V8 inspector](https://v8.dev/docs/inspector) is now also considered stable. While I wanted to feature these changes, note that [v16.6.1 came out](https://nodejs.org/en/blog/release/v16.6.1/) shortly thereafter to resolve some security issues. 

Bethany Nicolle Griggs   

⚠️ Note that [Node v14.17.4 (LTS)](https://nodejs.org/en/blog/release/v14.17.4/) and [v12.22.4 (LTS)](https://nodejs.org/en/blog/release/v12.22.4/) have also been released to fix an `http2` related security issue.  

[How to Use RabbitMQ and Node with Docker and Docker Compose](https://geshan.com.np/blog/2021/07/rabbitmq-docker-nodejs/) — 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](https://www.aspecto.io/blog/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](https://buildkite.com/blog/understanding-and-preventing-common-security-vulnerabilities?utm_campaign=CPress&utm_source=ppc&utm_medium=cp-node&utm_term=security&utm_content=vulnerabilities-blog) 

Buildkite sponsor   

[How to Send Emails with Node using SendGrid](https://blog.logrocket.com/how-to-send-emails-with-node-js-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](https://joshtronic.com/2021/08/01/vps-showdown-digitalocean-lightsail-linode-upcloud-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 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/iuyh736kgm5ue4j3aoah.jpg)](https://github.com/lukeed/tempura)  

[Tempura: A Light, Crispy, and Delicious Template Engine](https://github.com/lukeed/tempura) — 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](https://github.com/typegoose/typegoose) — If you’re a Node developer and using [Mongoose](https://mongoosejs.com/) and want to be using TypeScript, this is for you. 

Typegoose   

[Beyond onClick: Handling Events in React](https://go.lightstep.com/register-beyond-onclick-guide-co21?utm_campaign=node&utm_source=cooper&utm_medium=Email) 

Lightstep sponsor   

[pg-promise: Promise-Based Interface for PostgreSQL](https://github.com/vitaly-t/pg-promise) — Builds on top of [node-postgres](https://github.com/brianc/node-postgres) and adds automatic connections and transactions, query generation, and more. 

Vitaly Tomilov   

[Sift: Use MongoDB Style Queries on JavaScript Objects](https://github.com/crcn/sift.js) — 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 TypeScript](https://automapperts.netlify.app/) — [GitHub repo](https://github.com/nartc/mapper). 

Chau Tran     

💻 Jobs  

[Backend Engineering Positions - Remote 🏖](https://crystallize.com/careers/backend-developer) — 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)](https://x-team.com/remote-nodejs-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=cooperpress-node&utm_content=node) — 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](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-nodeweekly%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired      

**Got a new email?** You can [change your address here](https://nodeweekly.com/edit_subscription/*|UID|*). 

--- 

**Bored of us?** [Click here to stop getting Node Weekly](https://nodeweekly.com/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. Thanks! 

--- 

**Want to sponsor?** Email `[kristina@cooperpress.com](mailto:kristina@cooperpress.com)` for details. 

--- 

Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter.](https://nodeweekly.com/leave/*|UID|*)
