Fastify is a “fast” Node.js framework. In this video, we will build a REST API with validation schemas and swagger documentation

Code:
https://github.com/bradtraversy/fastify-crash-course

Website & Docs:
https://www.fastify.io/

Timestamps:

  • 0:00 - Intro
  • 2:26 - Install & Setup
  • 3:42 - Basic Server
  • 5:30 - Create a Basic Route
  • 6:33 - VSCode REST Client
  • 7:50 - Data File
  • 11:03 - Separate Routes File
  • 13:30 - Options, Validation Schemas & Handlers
  • 20:25 - Creating a Controller
  • 22:37 - Fastify Swagger API Documentation
  • 24:47 - Add Item POST
  • 30:22 - Body Validation
  • 31:59 - Remove Item DELETE
  • 35:20 - Update Item PUT

#node #fastify #web-development

Fastify Crash Course | Node.js Framework
14.80 GEEK