Skip to content
No description, website, or topics provided.
Kotlin
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper
src
.gitignore
LICENSE
README.md
docker-compose.yml
kotlin.svg
logo.svg
mvnw
mvnw.cmd
pom.xml

README.md

Logo

Logo Postgresql

Sticker storage

Sticker storage provides a spring boot powered backend with a REST-API to manage your whole sticker collection.

The problem

The main problem for all of us developers is to keep track of all stickers, which we bring along from it conferences and meetups.

The solution

the sticker storage backend provides a CRUD Rest-API to store the stickers and assigm them to locations or events.

Requirements

  • docker
  • or for building from source: a OpenJDK > 8

How to use it

run with docker-compose:

version: "3"
services:
  db:
    image: "postgres"
    container_name: "postgres"
    environment:
      - POSTGRES_USER=stickerstorage
      - POSTGRES_PASSWORD=stickerstorage
      - POSTGRES_DB=stickerstorage
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
  stickerstorage:
    depends_on:
      - db
    image: "ddkfm/stickerstorage"
    container_name: "stickerstorage"
    environment:
      - DATABASE_HOST=db
      - DATABASE_USERNAME=stickerstorage
      - DATABASE_PASSWORD=stickerstorage
      - DATABASE_NAME=stickerstorage
      - AUTHENTICATION_USERNAME=admin
      - AUTHENTICATION_PASSWORD=admin
      - JWT_SECRET=MyPerfectSecret!
    ports:
      - 8084:8080

this yaml-file will create a database container, a stickerstorage container and then expose the Backend to Port 8084 on the host.

swagger

the backend autogeneretes a OpenAPI Specification (aka. Swagger) on /openapi and include a swagger-ui interface on /swagger-ui

You can’t perform that action at this time.