Traversy Media | Vanilla Node.js REST API | No Framework @TraversyMedia | Uploaded October 2020 | Updated October 2024, 6 hours ago.
Let's create a REST API using Node.js only, without Express
Code:
github.com/bradtraversy/vanilla-node-rest-api
💖 Support The Channel!
patreon.com/traversymedia
Website & Brad Traversy Udemy Course Links:
traversymedia.com
Follow Traversy Media:
twitter.com/traversymedia
instagram.com/traversymedia
facebook.com/traversymedia
Timestamps:
0:00 - Intro
2:03 - Getting Started
3:06 - HTTP Create Server
5:27 - Send a Simple Response
10:43 - Simple Routing
13:17 - Create The Model & Controller
14:45 - Get All Products
19:35 - Get Product By ID
27:15 - Create Product
39:17 - Getting Body Data
48:38 - Updating Products
56:36 - Deleting Products
Let's create a REST API using Node.js only, without Express
Code:
github.com/bradtraversy/vanilla-node-rest-api
💖 Support The Channel!
patreon.com/traversymedia
Website & Brad Traversy Udemy Course Links:
traversymedia.com
Follow Traversy Media:
twitter.com/traversymedia
instagram.com/traversymedia
facebook.com/traversymedia
Timestamps:
0:00 - Intro
2:03 - Getting Started
3:06 - HTTP Create Server
5:27 - Send a Simple Response
10:43 - Simple Routing
13:17 - Create The Model & Controller
14:45 - Get All Products
19:35 - Get Product By ID
27:15 - Create Product
39:17 - Getting Body Data
48:38 - Updating Products
56:36 - Deleting Products