This is a so simple project to buy and sell products. this project contains most of all the CodeKo company technical tests which are required.
It has been created with CRUD Operations for CloudFunctions firebase using Nodejs.
(https://us-central1-codeko-3b7b2.cloudfunctions.net/user/AddNewItem)
request method: POST
Content-Type: application/x-www-form-urlencoded || raw(json)
{
"idItem": "",
"precio":int,
"des": "",
"url": ""
}
(https://us-central1-codeko-3b7b2.cloudfunctions.net/user/Edittem)
request method: POST
Content-Type: application/x-www-form-urlencoded || raw(json)
{
"idItem": "",
"des": "",
"url": ""
}
(https://us-central1-codeko-3b7b2.cloudfunctions.net/user/DeleteItem)
request method: POST
Content-Type: application/x-www-form-urlencoded || raw(json)
{
"idItem": ""
}
(https://us-central1-codeko-3b7b2.cloudfunctions.net/user/GetAll)
request method: Get
response: JSON with All Items
(https://us-central1-codeko-3b7b2.cloudfunctions.net/user/GetItem)
request method: POST
Content-Type: application/x-www-form-urlencoded || raw(json)
{
"idItem": ""
}
response: JSON with Item Data
(https://us-central1-codeko-3b7b2.cloudfunctions.net/user/Buy)
request method: POST
Content-Type: application/x-www-form-urlencoded || raw(json)
{
"idItem": "",
"precio":int,
"des": "",
"url": ""
}
(https://us-central1-codeko-3b7b2.cloudfunctions.net/user/GetAllBuy)
request method: Get
response: JSON with All Items
(https://us-central1-codeko-3b7b2.cloudfunctions.net/user/DeleteItemBuy)
request method: POST
Content-Type: application/x-www-form-urlencoded || raw(json)
{
"idItem": ""
}
It has been created with Javascript, Jquery, Html and Css.