Traversy Media | Fastify Crash Course | Node.js Framework @TraversyMedia | Uploaded June 2021 | Updated October 2024, 4 hours ago.
Fastify is a "fast" Node.js framework. In this video, we will build a REST API with validation schemas and swagger documentation
Code:
github.com/bradtraversy/fastify-crash-course
Website & Docs:
fastify.io
Article: Fastify vs. Express
medium.com/@onufrienkos/express-vs-fastify-performance-4dd5d73e08e2
Latest Udemy Courses:
https://traversymedia.com
💖 Support The Channel!
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
Fastify is a "fast" Node.js framework. In this video, we will build a REST API with validation schemas and swagger documentation
Code:
github.com/bradtraversy/fastify-crash-course
Website & Docs:
fastify.io
Article: Fastify vs. Express
medium.com/@onufrienkos/express-vs-fastify-performance-4dd5d73e08e2
Latest Udemy Courses:
https://traversymedia.com
💖 Support The Channel!
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