Name | GitHub | |
---|---|---|
David Amor Antolín | d.amora@alumnos.urjc.es | https://github.com/Almendron100 |
Carlos Francisco Corraliza | c.franciscoc@alumnos.urjc.es | https://github.com/CarlosFco |
Ramón Barrabes Parra | r.barrabes.2016@alumnos.urjc.es | https://github.com/ram2701 |
Enrique Márquez Jiménez | e.marquezj.2017@alumnos.urjc.es | https://github.com/Kikemaji |
Carlos González Valtierra | c.gonzalezva.2017@alumnos.urjc.es | https://github.com/Carlos237 |
- User
- Product
- Order
- Blog
- Sales based on product's stock
- Custom recommendations based on previous purchases
- Annonymous user: View products, read the blog
- Registered user: All permission of Anonymous user.Place orders
- Admin user: All permission of Registeted user. Add/Remove products, add/delete blog entries
- PhotoShop
- Visual Studio Code
- Github Desktop
Name | Most significant Commit 1 | Most significant Commit 2 | Most significant Commit 3 | Most significant Commit 4 | Most significant Commit 5 |
---|---|---|---|---|---|
David Amor Antolín | https://git.io/JvErG | https://git.io/JvErZ | https://git.io/JvErn | https://git.io/JvErc | https://git.io/JvErC |
Carlos Francisco Corraliza | https://git.io/JvEr1 | https://git.io/JvErM | https://git.io/JvErS | https://git.io/JvEr9 | https://git.io/JvErH |
Ramón Barrabes Parra | https://git.io/JvEr7 | https://git.io/JvEr5 | https://git.io/JvErd | https://git.io/JvErb | https://git.io/JvErN |
Enrique Márquez Jiménez | https://git.io/JvErA | https://git.io/JvErx | https://git.io/JvErp | https://git.io/JvErh | https://git.io/JvEoe |
Carlos González Valtierra |
Name | File 1 | File 2 | File 3 | File 4 | File 5 |
---|---|---|---|---|---|
David Amor Antolín | ProductController | OrderController | BlogController | ProductRepository | OrderService |
Carlos Francisco Corraliza | OrderMetrics | Blog | BlogController | UserController | OrderController |
Ramón Barrabes Parra | WebController | WebSecurityConfig | CustomErrorController | DatabaseInitializer | LoginController |
Enrique Márquez Jiménez | DatabaseInitializer | OrderController | OrderService | ProductController | Order |
Carlos González Valtierra |
Money spent per order and average
- Home
- Products
- Product Details
- Cart
- Checkout
- Checkout when logged
- Confirmation
- Blog
- Blog details
- Login
- Register
- My Profile
- Edit Profile
- Admin Profile(Graph)
It's recomended to use an IDE with maven and with Spring compatibility. The IDE used in this project is STS(Spring Tool Suite 4). To run the application the port that we use is 8443, so the URL will be: https://localhost:8443 A MySQL database is needed so you have to create a database in a client with MySQL and Apache (We use XAMPP, more info at: https://www.apachefriends.org/es/index.html)
To buid the image of the application you need, first of all, to use the create_image.bat script located in the docker folder, this will generate the .jar file needed to build the image. Then the script will create the image.
Otherwise, if you have maven installed you need to run:
mvn package or mvn clean install, this will generate the .jar file in target folder in backend directory
You can run the application using Docker Compose. For that, you need to go to the docker folder and run the following command:
docker-compose up This will download the images needed, mysql and the app from Docker Hub. The application will run in the following URL: https://127.0.0.1:8080.
We made a documentation file with all the Postman requests you can use with our App. You can check it in the next URL: API Document
Name | Most significant Commit 1 | Most significant Commit 2 | Most significant Commit 3 | Most significant Commit 4 | Most significant Commit 5 |
---|---|---|---|---|---|
David Amor Antolín | https://git.io/JvoP3 | https://git.io/JvoPs | https://git.io/JvoPn | https://git.io/JvoPC | https://git.io/JvoPW |
Carlos Francisco Corraliza | https://git.io/JvoXY | https://git.io/JvoXZ | https://git.io/JvoXc | https://git.io/JvoXC | https://git.io/JvoXR |
Ramón Barrabes Parra | https://git.io/JvoyX | https://git.io/JvoyM | https://git.io/JvoyS | https://git.io/JvoyH | https://git.io/JvoyN |
Enrique Márquez Jiménez | https://git.io/Jvod3 | https://git.io/Jvods | https://git.io/JvodG | https://git.io/JvodZ | https://git.io/Jvodn |
Carlos González Valtierra | https://git.io/JvoNj |
Name | File 1 | File 2 | File 3 | File 4 | File 5 |
---|---|---|---|---|---|
David Amor Antolín | ProductRestController | OrderRestController | UserRestController | API.md | apiV2.postman_collection.json |
Carlos Francisco Corraliza | OrderRestController | ProductRestController | ProductService | ProductController | apiV2.postman_collection.json |
Ramón Barrabes Parra | Dockerfile | create_image.bat | docker-compose | animeshop-0.0.1-SNAPSHOT.jar | UserRestController |
Enrique Márquez Jiménez | BlogRestController | OrderRestController | API.md | README.md | |
Carlos González Valtierra | README.md |
Video corto demostración
Video largo detallado
First download node.js from https://node.org/ , select the recommended one for windows. Then go to the cmd. User the commands: npm install -g wait some time and then do: npm install -g @angular/cli after that, angular-cli is ready for windows.
To execute this project, clone this repository, open it with visual studio, open the terminal and write the commands: npm install ng serve after using ng serve the application will be executed and can be opened in your browser.
For this, you will need to go to the file create_image.ps1 and execute its content in the Windows Powershell. This will download angular-cli and node using a container, then it will move the files created in the dist directory to the new directory located in \backend\src\main\resources\static. In order to access the angular application you need to put the following URL: https://127.0.0.1:8080/new/.
Name | File 1 | File 2 | File 3 | File 4 | File 5 |
---|---|---|---|---|---|
David Amor Antolín | product.component.ts | product.service.ts | product.component.html | checkout.component.ts | confirmation.component.ts |
Carlos Francisco Corraliza | blog.component.ts | MetricsRestController.java | userPage.component.ts | singleBlog.component.ts | order.service.ts |
Ramón Barrabes Parra | create_image.ps1 | login.component.ts | product.component.ts | product.service.ts | singleProduct.component.ts |
Enrique Márquez Jiménez | order.component.html | chechout.component.ts | order.service.ts | order.component.ts | confirmation.component.ts |
Carlos González Valtierra |