smallbusinesshero / sbh-service

The backend of www.smallbusinesshero.de
MIT License
4 stars 1 forks source link

dds-wvv-backend

swagger-ui

Every API is automatically published to swagger-ui.

Lombok

This project uses Project Lombok Please make sure you install the correct Lombok Plugin for your used IDE to get correct code completion.

SpringBoot2

This project is build on the framework SpringBoot2 documentation

Requirements

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

How to connect to commercetools api

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}

Build as Docker container