Masterclass | Mastering Node.js Backends
Вставка
- Опубліковано 8 лип 2024
- Have you ever struggled with designing and structuring your Node.js applications?
Building applications that are well-organized, testable and extendable, while also remaining simple, is not always easy.
In this live event, Matteo Collina, Co-Founder and CTO of Platformatic, will show you how he builds Node.js applications with Platformatic and Fastify, from scratch. You’ll learn how he approaches application design, and the philosophies that he applies to create modular, maintainable and effective applications.
Additional information:
Get started with Platformatic 👉 docs.platformatic.dev/
Get started with Fastify 👉 fastify.dev/docs/latest/Guide...
Examples mentioned during the masterclass 👉 github.com/platformatic/node-...
Learn more about Platformatic 👉 platformatic.dev/
Building a modular monolith with Fastify👉 • Building a modular mon...
Table of contents:
00:00 Introduction
01:23 Do not thrash your Node.js event loop
01:44 The 3 pillars of Node.js development
07:05 To use or not to use Jest?
10:32 Errors in Jest
23:30 Managing modules
38:20 Packages are not singletons
41:10 Dependency Injections
44:37 Why should we split applications into multiple packages?
51:09 Introducing Fastify
51:38 Fastify plugins
55:06 Testing Fastify applications
56:45 How to build a modular monolith?
1:03:53 Demo
Thank you Matteo
I love this guy
Great video thank you s much, Test Fail => Refactor then => Pass :)
nice thank you so much 👍, liked and subscribed
Hi Matteo! Please, gather the resources you pulled up during presentation in a little nifty list in the description. Grazie!
Hi @kosson, we've added links to the bio!
Thanks so much for the video Matteo! Learned a lot watching this.
Wanted to ask a question. You mentioned that it is preferable to break your app into modules because when using MVC, you can have a massive amount of models. I was wondering, why not break your app into modules but also use MVC in the module with the smaller scope?
The use of models can be problematic too because they hold too many responsibilities. You can take a look at ua-cam.com/video/atABji4xqiI/v-deo.html, where Matteo goes deep on the topic.
thanks for sharing this amazing content
Excellent.
$lookup is supported native by MongoDB driver. Mongoose populate is just a wrapper of it I guess.
Is it possible to use under pressure in express framework?
Something similar is available with www.npmjs.com/package/overload-protection. It’s not as feature-rich as under-pressure.
May I also suggest a video ToC so people can fastforward to relevant sections?
Hi @SimpleCookiee, we've now added this- thanks for watching!
@@platformatic😅mm😅m😅m😅m😅m😅m😅😅mm😅m😅m😅m😅m😅m😅m😅m😅m😅m😅m😅m😅m😅m😅m😅mm😅m😅m😅m😅m😅m😅m😅mm😅m😅m😅m😅😅mm😅m😅m😅
my pc took 15 for the whol package wtf explain to me please