Every API is automatically published to swagger-ui.
This project uses Project Lombok Please make sure you install the correct Lombok Plugin for your used IDE to get correct code completion.
This project is build on the framework SpringBoot2 documentation
For running the backen service you need:
The service can locally either be started via your IDE starting directly the Main class com.diconiumwvv.storesservice.StoresserviceApplication
Or build and start the service via mvn spring-boot plugin
- $ mvn clean install
- $ mvn spring-boot:run
- to connect the spring boot app to the commercetools api you need to set the following config inside the application.yml
ctp:
projectKey: ${ctp.projectKey}
clientId: ${ctp.clientId}
clientSecret: ${ctp.clientSecret}
authUrl: ${ctp.authUrl}
apiUrl: ${ctp.apiUrl}
google:
api:
key: ${google.api.key}
auth:
basic:
user: ${auth.basic.user}
password: ${auth.basic.password}
- $ mvn package -DskipTests
- $ docker build -t dds-wvv-backend .