A demo of backend side of website
# npm
npm start
Start the development server on http://localhost:3000
Endpoint ready to use
GET /videos #Get All Videos
GET /:id/video #Get Video by Id
POST /:id/saveVideos #Post Videos
GET /:id/getProduct #Get Product
GET /:id/getComment #Get Comment
POST /:id/postComment #Post Comment
{
videos: [
_id : String
titleVideo : String
linkVideo : String
thumbnailVideo : String
]
}
{
comments: [
_id : String
commentUsername : String
commentContent : String
]
}
{
products: [
_id : String
productName : String
price : number
store : string
]
}