Building Web Applications

Using Node.js and Fastify

 

Julián Duque

Developer and Educator at MNTD

Lead Developer Advocate at Salesforce Heroku

https://twitch.tv/julianduque

 
 

What is Fastify?

Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture. It is inspired by Hapi and Express and as far as we know, it is one of the fastest web frameworks in town.

Core Features

  • Highly performant: One the fastests frameworks for Node.js

 

  • Extensible: Fastify is fully extensible via its hooks, plugins and decorators

 

  • Schema based: Supports JSON Schema for Validation/Serialization

 

  • Logging: Built-in Logger

 

  • TypeScript ready: TypeScript support out of the box

Getting Started

$ npm install fastify

 

Request/Response

Ecosystem

  • fastify-auth
  • fastify-cors
  • fastify-helmet
  • fastify-jwt
  • fastify-static
  • fastify-websocket
  • point-of-view
  • mercurius
  • and many more...

Thank you!