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:8080this 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