Skip to content

FelipeBattistotti/PetShop-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PetShop

Project

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.


Stack


Backend

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 --

Frontend

Developed with: React

To Install: npm install
To Execute: npm start


Snapshots:

Snapshot1 Snapshot2

Snapshot3 Snapshot4


Videos


JSON Files

About

Web App for Pet Shop - Frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published