Skip to content

Repository files navigation

Serverless example for LogRocket blog

To start the application? Run npm start

Then go to the base url here:===> http://localhost:3000

Path:

/index - base path

/ - To create a new product

/ - To get all the products from the db

/{productId} - To get a product by Id from the db

Payload to create a new product

http://localhost:3000/

Requestbody

 {
"name": " ",
"type": " ",
"cost": "",
"description": ""
}

About

A serverless Node JS example for LogRocket Blog Post

Topics

Resources

Stars

9 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages