Skip to content

PremNodejsdeveloper/onlineshopping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Som prequest api before firing 1 and 2 api

adduser ----- http://localhost:3000/api/users/adduser request json { "name": "prem", "phone": 9905503843, "address": "abcd" }

add product --- http://localhost:3000/api/products/addnew { "name": "watch", "unit_price": 200, "description": "mens watch" }

1.API Post --- http://localhost:3000/api/users/add request.json body { "name": "XYZ", "phone": 1234567890, "address": "abcd", "transaction": { "product": { "name": "watch", "unit_price": 200, "description": "mens watch", "quantity": 1 } } }

  1. Get API get -- http://localhost:3000/api/users/lists

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors