Pet Shop - Web App
This project aims to present a Web Application that will allow the consultation and maintenance of products from a Pet Shop online store.
Developed with: Node.js
To Install: npm install
To Execute: npm start
Test URL Examples (Heroku):
Login https://petshop-webapp-b.herokuapp.com/login
GET user https://petshop-webapp-b.herokuapp.com/user
POST user https://petshop-webapp-b.herokuapp.com/user
JSON Example --> {"name": "Usuário 1","email": "[email protected]","pwd": "abc123"}
GET product https://petshop-webapp-b.herokuapp.com/product
GET product (Query Parameters: page) https://petshop-webapp-b.herokuapp.com/product?page=1
GET product (Query Parameters: page & name) https://petshop-webapp-b.herokuapp.com/product?page=1&name=nameProduct
GET product (Query Parameters: page & name & description) https://petshop-webapp-b.herokuapp.com/product?page=1&name=nameProduct&description=descriptionProduct
GET product (Query Parameters: page & name & description & category) https://petshop-webapp-b.herokuapp.com/product?page=1&name=nameProduct&description=descriptionProduct&category=categoryProduct
POST product https://petshop-webapp-b.herokuapp.com/product
JSON Example --> Content: {"name": "Coleira","description": "Coleira p/ Cachorro","category": "Acessórios","price": "55.66","stock_quantity": "9"}; (Header: Authorization - Value: (ID user))
DELETE product https://petshop-webapp-b.herokuapp.com/product/1
(Header: Authorization - Value: (ID user))
-- See JSON Files --
Developed with: React
To Install: npm install
To Execute: npm start
- External link Web App: https://petshop-webapp-f.herokuapp.com
Snapshots:
- Pet Shop - Web App (Backend) - Parte 1
- Pet Shop - Web App (Backend) - Parte 2
- Pet Shop - Web App (Frontend)
- Pet Shop - Web App (Demo)