Half-Life quotes API
A (very) simple API to retrieve some quotes of Half Life.
API
GET /
Get a random quote in this format:
{
"quote":"Welcome to the HEV Mark 4 Protective System, for use in hazardous environment conditions.",
"author":"HEV Suit"
}
Docker
Deploy the Docker Image of Half-Life Quotes:
docker pull redsonbr/half-life-quotes:latest
docker run -d --name half-life-quotes -p 80:8080 redsonbr/half-life-quotes:latest
If you want to build your own image, go ahead:
git clone https://github.com/RedsonBr140/half-life-quotes.git
cd half-life-quotes
docker build -t redsonbr/half-life-quotes .
You can also change the redsonbr/half-life-quotes
tag to anything you want.
Contributing
If you want to add some quotes, just add them in quotes.go
file and do a pull request!
Credits
inspired by Breaking Bad quotes
License
MIT License
❤ Keep It Simple, Stupid.