Тёмный

Fastify Course 🚀 The Performant Node.js Web Framework 

NL Tech
Подписаться 3 тыс.
Просмотров 13 тыс.
50% 1

This video will be a full introductory course to Fastify - a Node.js-based web framework/HTTP(s) server library. Fastify aims to provide the lowest overhead web framework based on Node.js. You can use Fastify to build a RESTful API, render templates like handlebars server-side (SSR), access databases with its excellent plugins. Fastify is plugin-based and extensible. It also supports hooks and decorators and its syntax is easy-to-learn and developer-friendly.
In the course, I introduce Fastify and its features, we talk about Fastify's advantages and disadvantages compared to other frameworks like Express, Koa and Hapi. Then we build a Fastify JSON API live and create a custom plugin which represents a controller. I demonstrate the JSON Schema validation mechanisms of Fastify. We then talk about Hooks and Decorators, which can be used to implement authentication with JWT, OAuth or any other authentication method and finally I demonstrate how to do database access with one of the DBA plugins - @fastify/mysql. Fastify also has plugins for MongoDB, Postgres, Redis and others.
Contents:
0:00 Intro - What is Fastify?
1:04 Why Fastify?
2:57 Build a Fastify Application
9:48 JSON Schema Validation
14:33 Create a Controller with a Custom Plugin
20:22 Hooks
21:17 Application Lifecycle
22:15 Decorators
25:14 Database Access Plugins
25:33 Using @fastify/mysql
35:43 Conclusion
Social Media:
Email: nikola.n.lazarov@outlook.com
Twitter: / nikelaz
LinkedIn: / nikola-lazarov
#fastify #nodejs #course

Наука

Опубликовано:

 

16 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@nikolcenalevski5164
@nikolcenalevski5164 5 месяцев назад
wonderful introduction to "fastify", nicely explained and understandable by any beginner. thank you for your presentation.
@nltech1
@nltech1 5 месяцев назад
Glad it was helpful!
@dageddy
@dageddy 5 месяцев назад
Very nice introduction. I’m enjoying learning about fastify. Your comments about the syntax are also useful.
@nltech1
@nltech1 5 месяцев назад
Thank you! I'm really glad you find learning about fastify enjoyable!
@rockNbrain
@rockNbrain 9 месяцев назад
Nice job dude! Tks a lot 🎉
@nltech1
@nltech1 9 месяцев назад
Thanks!
@itallovidal9383
@itallovidal9383 9 месяцев назад
Awesome!
@nltech1
@nltech1 9 месяцев назад
Thanks!
@IonutBoghean-sb6wx
@IonutBoghean-sb6wx 7 месяцев назад
Very good tutorial, thank you
@nltech1
@nltech1 7 месяцев назад
Thank you! I’m glad you found it useful.
@laureanooliva7836
@laureanooliva7836 7 месяцев назад
Really good content! Thnx
@nltech1
@nltech1 7 месяцев назад
Thank you!
@anuj7286
@anuj7286 8 месяцев назад
This is a quick and simple tutorial to learn Fastify. Thanks, sir
@nltech1
@nltech1 8 месяцев назад
Thanks! Glad you liked it!
@anuj7286
@anuj7286 8 месяцев назад
@@nltech1 can we deploy fastify to EC2 instance easily?
@anuj7286
@anuj7286 8 месяцев назад
I could not able to connect mySQL could please create a short tutorial?
@cannabisanomaly
@cannabisanomaly 2 месяца назад
Thank you for the super helpful and concise video! I had a question about the use of `process.exit(1)` being used on your catch statement; I know it's a common practice I see on a lot of YT channels, but if you read the modal that pops up when you hover over process.exit(), Node actually states it's unnecessary to include it in most cases. This is because that the try-catch block inherently will handle the error and exit accordingly, but you also run the risk of prematurely terminating any asynchronous functionality when you execute process.exit. Just curious to hear what your take on that is, as I'm confused as well, haha. It's a habit I do myself, that's for sure.
@Farham07
@Farham07 7 месяцев назад
Nice❤
@nltech1
@nltech1 7 месяцев назад
Thank you! Glad you liked it.
@samsloanmusic1749
@samsloanmusic1749 3 месяца назад
Great video! I noticed you used a different syntax for database connection than most of the documentation I've seen. Usually it's the `connectionString` syntax. What is the difference?
@dmsnm
@dmsnm 3 месяца назад
NestJS has passed Express in GitHub stars
@nmephchik
@nmephchik 3 месяца назад
good video..... without sound
@umernasir4217
@umernasir4217 6 месяцев назад
What's the font you're using for VS Code? Awesome Content BTW ❤
@nltech1
@nltech1 6 месяцев назад
Thank you! I use Cascadia Code: github.com/microsoft/cascadia-code
@sumanmodak7859
@sumanmodak7859 5 месяцев назад
This is the worst ever framework when used with typescript. The developers have spoiled the documentation by including so many topic in a staggered way.
@Jaood_xD
@Jaood_xD 5 месяцев назад
Do these two sentences correlate?
@luca4479
@luca4479 4 месяца назад
Its fine. Once ElysiaJS reaches 1.0 I’m rewriting
Далее
Learn Just Enough Fastify to be Productive
29:47
Просмотров 19 тыс.
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
меня не было 9 дней
12:48
Просмотров 2,3 млн
Thank you king gnome Crawly for saving my life 🙏
00:38
Masterclass | Mastering Node.js Backends
1:58:52
Просмотров 21 тыс.
Fastify Crash Course | Node.js Framework
39:43
Просмотров 139 тыс.
Node.js Ultimate Beginner’s Guide in 7 Easy Steps
16:20
Brutally honest advice for new .NET Web Developers
7:19
Web Developer Roadmap (2024) - Everything is Changing
25:02
I've been using Redis wrong this whole time...
20:53
Просмотров 337 тыс.
Самый быстрый пылесос!
0:30
Просмотров 17 тыс.