Vanilla Node.js REST API | No Framework
Let’s create a REST API using Node.js only, without Express
Code:
https://github.com/bradtraversy/vanilla-node-rest-api
đź’– Support The Channel!
http://www.patreon.com/traversymedia
Website & Brad Traversy Udemy Course Links:
https://www.traversymedia.com
Follow Traversy Media:
Tweets by 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
source