Skip to content

Vrangz/player-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Player Manager

Application to manage player and his items.

Prerequisites

Make sure you have docker and docker compose installed. Here are my versions:

$ docker --version
Docker version 20.10.22, build 3a2c30b

$ docker compose version
Docker Compose version v2.15.1

How to run

Start with cloning the repository

git clone https://github.com/Vrangz/player-manager.git

You can use already prepared scripts in script directory. To run the application call

./scripts/run.sh

and if you want to stop the containers then execute

./scripts/stop.sh

How to use

The application doesn't allow to create a user, but there's one already created krzysztofszulcjr.

The server will be accessible on localhost at 8080 port. Check out the swagger to learn more about the API. Some endpoints require basic authentication, so use username and password as credentials to authenticate.

Examples

Get player information

curl "http://localhost:8080/api/v1/players/krzysztofszulcjr"

Get player items

curl "http://localhost:8080/api/v1/players/krzysztofszulcjr/items"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published