Play API
Microservice parsing play services to act as API
Installation
Clone repo
git clone https://github.com/egeback/playapi.git
Deployment options
The microservice can be deployed as standlone application or in a docker container
Standalone golang application
Run build script in from root director
./cmd/build.sh
Run application
./playapi
Docker container
Configure Docker Container
Update Dockefile (update ports)
1. Using docker-compose (link)
docker-compose up -d --no-deps --build
2. Using docker build
docker build -t egeback_playapi .
Both options will run swag, build golang code and deploy container
Using API
Swagger documenation available at http://localhost:8080/api/swagger/index.html
TODO