It was never so easy to get YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Fastify Course 🚀 The Performant Node.js Web Framework

Follow
NL Tech

This video will be a full introductory course to Fastify a Node.jsbased 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 serverside (SSR), access databases with its excellent plugins. Fastify is pluginbased and extensible. It also supports hooks and decorators and its syntax is easytolearn and developerfriendly.

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: [email protected]
Twitter:   / nikelaz  
LinkedIn:   / nikolalazarov  

#fastify #nodejs #course

posted by lokollaok