Vanilla Node.js REST API | No Framework

Watch on YouTube

Show annotations

53,742

2,782

24

Genre: Science & Technology

Family friendly? Yes

Wilson score: 0.9873

Rating: 4.9658 / 5

Engagement: 0.0522%

Traversy Media

Subscribe | 1.3M

Shared October 15, 2020

Let's create a REST API using Node.js only, without Express

Code:
https://github.com/bradtraversy/vanil...

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

Website & Brad Traversy Udemy Course Links:
https://www.traversymedia.com

Follow Traversy Media:
https://www.twitter.com/traversymedia
https://www.instagram.com/traversymedia
https://www.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