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/

Article: Fastify vs. Express
https://medium.com/@onufrienkos/express-vs-fastify-performance-4dd5d73e08e2

Latest Udemy Courses:
https://traversymedia.com?

? Support The Channel!
http://www.patreon.com/traversymedia

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

Similar Posts