# DPShop Backend

# Compile & Run

## Prerequisites

- ``git`` installed & added to PATH
- Java Development Kit 17 (we recommend using OpenJDK with Hotspot) installed & added to PATH
- Maven >= 3.9.9 installed & added to PATH
- An Internet Connection (to download the Maven Dependencies)


## Compile

1. Make sure you fulfill all prerequisites
2. Clone files & submodules with:
    ```shell
    git clone git@github.com:FlorianSpeicher04/webshop.git
    ```
3. (Optional) change the ``BASE_PORT`` in [WebshopApplication.java](src/main/java/de/htwsaar/webshop/WebshopApplication.java) from 8085 to something else
4. Compile with:
    ```shell
    mvn clean package
    ```
   
## Interesting Knowledge
- `controller/` includes all REST-Endpoints
- `model/` includes all REST-Responses
- `service/` includes all Business Logic
- `repository/entities` includes all DB-Objects

# Contributors
- Laura Katharina Dolibois
- Mathusan Saravanapavan
- Florian Speicher
- Tim Wall