https://github.com/lucapasquale/onemarket
Cart API with Node.js, Hapi and Postgresql
https://github.com/lucapasquale/onemarket
amazon-web-services hapijs nodejs postgresql sequelize
Last synced: 2 months ago
JSON representation
Cart API with Node.js, Hapi and Postgresql
- Host: GitHub
- URL: https://github.com/lucapasquale/onemarket
- Owner: lucapasquale
- Created: 2017-03-08T15:03:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-13T19:09:48.000Z (over 9 years ago)
- Last Synced: 2025-01-17T20:25:17.204Z (over 1 year ago)
- Topics: amazon-web-services, hapijs, nodejs, postgresql, sequelize
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OneMarket
Cart API with Hapi.js and PostgreSQL on ElasticBeanstalk
## Links:
GET - http://default-environment.ypmxh7rj5r.us-east-1.elasticbeanstalk.com/products
GET - http://default-environment.ypmxh7rj5r.us-east-1.elasticbeanstalk.com/cart/5
POST - http://default-environment.ypmxh7rj5r.us-east-1.elasticbeanstalk.com/cart
PUT - http://default-environment.ypmxh7rj5r.us-east-1.elasticbeanstalk.com/cart
## Example Body:
{
"id": 5,
"products": [
{
"name": "D",
"description": "dddd",
"price": 1.1,
"quantity": 1
},
{
"name": "C",
"description": "ccc",
"price": 3.0,
"quantity": 2
},
{
"name": "E",
"description": "eeeee",
"price": 0.5,
"quantity": 4
}
]
}