Skip to content

firebase007/Serverless-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3de167f · Aug 11, 2021

History

4 Commits
Nov 11, 2019
Nov 11, 2019
Nov 11, 2019
Nov 11, 2019
Nov 11, 2019
Aug 11, 2021
Aug 11, 2021
Nov 11, 2019
Nov 11, 2019
Aug 11, 2021

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": ""
 }