Fastify Crash Course: Build REST APIs with Node.js πŸš€

Learn to build fast REST APIs using Fastify, including validation schemas and Swagger docs in this quick Node.js tutorial.

Fastify Crash Course: Build REST APIs with Node.js πŸš€
Traversy Media
160.7K views β€’ Jun 18, 2021
Fastify Crash Course: Build REST APIs with Node.js πŸš€

About this video

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

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

160.7K

Likes

4.1K

Duration

39:43

Published

Jun 18, 2021

User Reviews

4.7
(32)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.

Trending Now