Fastify is a “fast” Node.js framework. In this video, we will build a REST API with validation schemas and swagger documentation
Article: Fastify vs. Express
onufrienkos/express-vs-fastify-performance-4dd5d73e08e2
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 js
#Fastify #Crash #Node.js #Framework
node.js,fastify,fastify.js,fastify crash course,REST API,node.js rest api
0 Comments