Public | Automated Build

Last pushed: 2 years ago
Short Description
Small demo app which provides a tiny web app displaying a Pokemon. Used for demonstration purposes.
Full Description

Pokesrv demo app.

This web app is used as a demo application which brings up a HTTP service with some Pokemon content.

The actual content can be influenced by an environment variable, a command line flag or the hostname.


# Build binary
go build .

# Use the hostname to pick a pseudo-random pokemon

# Bypassing the randomness with an environment variable 
POKEMON=gengar pokesrv

# Bypoassing the randomness with a command line parameter
pokesrv -pokemon pikachu

# Just run this through Docker
docker run -d -p 8080:8080 tolleiv/pokesrv


The app makes use of other projects. The Gin HTTP wrapper is used to provide the HTTP parser, The Pokemon Hollow font is used along with the great data from the PokeAPI project.


MIT License

Docker Pull Command
Source Repository