FRONT-END: https://github.com/mmpodkanski/computer-shop-front
AWS: http://mmpod-computershop.s3-website.us-east-2.amazonaws.com/
Simple ecommerce shop, whereby you are able to buy some computer components.
This project uses:
- CQRS, Facade design patterns
- JPA Projections,
- Stripe framework to handle payments
Now I'm working on:
- possibilty to collect invoice pdf file(OpenPDF framework)
- Java 11
- Spring
- Maven
- Hibernate
- Stripe
- JUnit
- MySQL
- IntelliJ IDEA
Value | Endpoint | Access |
---|---|---|
GET | /products?page/ | not required |
GET | /products?category/ | not required |
GET | /products?code/ | not required |
GET | /products/:id/ | not required |
POST | /products/ | admin |
PATCH | /products/:id?increase/ | admin |
PATCH | /products/:id?increase/ | admin |
DELETE | /products/:id/ | admin |
GET, POST | /cart/ | customer |
UPDATE | /cart/:id/ | customer |
DELETE | /cart | customer |
GET, POST | /orders/ | customer |
GET | /orders/:id/ | customer |
POST | /orders/checkout=:id/ | customer |
DELETE | /orders/:id/ | customer |
GET, POST | /customer/ | customer |
PUT | /customer?details | customer |
PUT | /customer?login | customer |
PUT | /customer?register | customer |
- Clone the Project using link https://github.com/mmpodkanski/computer-shop-back.git or Download the zip
- Open project in IntelliJ:
- File->New->Project from Version Control then past clone link
- File->Open then find and open downloaded zip
- Run java application
OR
You can run application with maven wrapper:
- mvnw clean install
- mvnw spring-boot:run
Created by @mmpodkanski