We are creating an app for you to order the products you want - as in any other site - with privacy in mind
Explore the docs »
View Demo
·
Promotional video
·
Report Bug
·
Request Feature
Table of Contents
A privacy aware retail company wants to create an online retail system called DeDe (Decentralized Delivery) that preserves the privacy of the customers following the SOLID principles.
In order to do that, the system will not store personal information from customers but will obtain that information from the user’s pods given that the users give the necessary permissions to the shopping system.
- User e-mail: [email protected]
- Password: dedeen2a
- Card Type: MasterCard
- Card Number: 5110926992639155
- Expiration Date: 05/2027
- CVV: 664
In case you already have node.js and npm, make sure you update them before attempting to build the images
If you want to execute the project you will need git, Node.js and npm and Docker. Make sure the three of them are installed in your system. Download the project with git clone https://github.com/arquisoft/dede_0
. The fastest way to launch everything is with docker:
docker-compose up --build
This will create two docker images as they don't exist in your system (the webapp and the restapi) and launch a mongo container database. It will also launch Prometheus and Grafana containers to monitor the webservice. You should be able to access everything from here:
- Webapp - http://localhost:3000
- RestApi example call - http://localhost:5000/products
- RestApi raw metrics - http://localhost:5000/metrics
- Prometheus server - http://localhost:9090
- Grafana server http://localhost:9091
If you want to run it without docker. Compile and run the restapi:
cd restapi
npm install
npm start
Now the webapp:
cd webapp
npm install
npm start
You should be able to access the application in http://localhost:3000.
You can get more information about the repository in the other README files:
Álvaro Rodríguez González - UO277776
Pablo Lopez Amado - UO271580
Andrés Martínez Rodríguez - UO277915
Ángel Iglesias Préstamo - UO270534
Noelia Iglesias Cuesta - UO269652