Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/larissaperinoto/fast-delivery
Fast Delivery is a Full Stack application to support a beer distributor.
https://github.com/larissaperinoto/fast-delivery
chai css eslint hooks html javascript jwt material-ui mocha mysql nodejs react-router reactjs sequelize sinon swagger
Last synced: 27 days ago
JSON representation
Fast Delivery is a Full Stack application to support a beer distributor.
- Host: GitHub
- URL: https://github.com/larissaperinoto/fast-delivery
- Owner: larissaperinoto
- Created: 2023-02-07T18:43:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T11:57:02.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T03:14:55.132Z (3 months ago)
- Topics: chai, css, eslint, hooks, html, javascript, jwt, material-ui, mocha, mysql, nodejs, react-router, reactjs, sequelize, sinon, swagger
- Language: JavaScript
- Homepage: https://previous-brass-production.up.railway.app/login
- Size: 1.68 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fast Delivery
[Trybe](https://www.betrybe.com/) is a technology school focused on training Web Developers and the Fast Delivery project was proposed as an activity to improve studies on back-end development.
The project was developed with the following team: [Raissa Vasconcelos](https://github.com/RaissaVasconcelos), [Rafael Alencar](https://github.com/rafaeldev13), [Luiz Junior](https://github.com/jcaluiz), [Yan Chapetta](https://github.com/chapetta).
## Description
Fast Delivery is a Full Stack application to support a beer distributor. This app supports customers, sellers and the administrator person.
#### Costumer
As a consumer you must login or register, if you do not have an account, then you will have access to a list of products that can be added to the cart. When choosing the products, you will be redirected to the checkout screen to check your order and then you will be able to finalize it. You will also have access to your entire order history.
#### Seller
If you are a registered seller you can login and access to your entire order history. When you click in a order, you can see the order details.
#### Administrator
If you are a administrator user, you can login and access the management sellers page. You can see all the sellers and customers and add new ones.
## Technologies and Tools
### Front-end
- HTML
- CSS
- JavaScript
- [ReactJS](https://pt-br.reactjs.org/)
- [React router](https://reactrouter.com/en/main)
- [Material ui](https://mui.com/)### Back-end
- [Express](https://expressjs.com/pt-br/)
- [NodeJs](https://nodejs.org/en/)
- [Docker](https://www.docker.com/)
- [Sequelize](https://sequelize.org/)
- [MySQL](https://www.mysql.com/)
- [JWT](https://jwt.io/)
- [Joi](https://joi.dev/)
- Model-Service-Controller Architecture### Back-end tests
- [Mocha](https://mochajs.org/)
- [Chai](https://www.chaijs.com/)
- [Sinon](https://sinonjs.org/)### Documentation
- [Swagger](https://swagger.io/)### Code alignment
- [ESlint](https://eslint.org/)## ⚙️ How to use
To run the application, start by making a clone of the repository
git clone [email protected]:larissaperinoto/delivery-app.git
Navigate to the root folder of the project
cd delivery-app
Running with Docker
Obs: To run the application this way you must have [Docker](https://www.docker.com/) installed on your machine.
In the root of the project, upload the fast_delivery_frontend, fast_delivery_backend and fast_delivery_db containers using docker-compose.
docker-compose up -d
Acess the containers logs:
frontend: docker logs --details fast_delivery_frontend
backend: docker logs --details fast_delivery_backend
bd: docker logs --details fast_delivery_db## How to login
##### Login as a customer
To log in as a user you must register again by clicking on "I don't have an account yet"
##### Login as a seller
To log in as a seller, use the following credentials
email: [email protected]
passsword: secret_seller_password##### Login as an administrator
To log in as a seller, use the following credentials
email: [email protected]
passsword: secret_admin_password## API Documentation
You can view the API documentation by accessing the **/docs** route or by clicking [here](https://smoggy-reading-production.up.railway.app/docs).
---
Develop by [Larissa Perinoto](www.linkedin.com/in/larissaperinoto), © 2022.