https://github.com/danilowa/frontendflag
Projeto em Grupo final da Flag em ReactJS
https://github.com/danilowa/frontendflag
Last synced: about 1 year ago
JSON representation
Projeto em Grupo final da Flag em ReactJS
- Host: GitHub
- URL: https://github.com/danilowa/frontendflag
- Owner: DaniloWA
- License: mit
- Created: 2022-03-20T19:31:20.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-11T19:32:16.000Z (about 4 years ago)
- Last Synced: 2025-02-02T09:30:42.454Z (over 1 year ago)
- Language: JavaScript
- Size: 2.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DSM store website
This is the final group project developed at FLAG made to show our learned skills through a Web Store.
# Getting Started
These instructions will allow you to get a copy of this project on your local machine for development and testing purposes.
In the project directory, you can run:
## `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
## `yarn start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
# Project Building
This project was built using:
* [React.js] (https://reactjs.org) - Library
* [Router] ("react-router-dom") - V6 - Used to direct from one page to another
* [Eslint] (https://eslint.org[ - Dependency
* [FakeStore] (https://fakestoreapi.com] - API
# Routes
Now We will show you the routes we used and in case you create a new one please just have it included here.
## As son as you start it this will be the first route:
`` GET http://localhost:3000/`` - Homepage
### You can sing in by entering:
`` PUT http://localhost:3000/login`` - Login page
* Username - mor_2314
* Password - 83r5^_
#### and have access to:
* `` GET http://localhost:3000/user`` - Userpage with client data
#### Simulating a purchase:
* `` GET http://localhost:3000/products:id`` - Especific product's page, there you will find all the details from the product
* `` GET http://localhost:3000/products`` - You will find all products and you can sort them in different categories then add to a side cart
* `` POST http://localhost:3000/checkoutpage`` - Go to a checkout page to view and add the necessary information to finish your purchase.
#### No existing page:
* `` GET http://localhost:3000/notfound`` - 404 Error
# Authors
* Danilo Oliveira [Developer] - (https://github.com/DaniloWA)
* Milena Fleming [Developer] - (https://github.com/Fleemings)
* Sérgio Pinto [Developer] - (https://github.com/srg-malves)
⌨️ with ❤️ by all of us