Real-time IP address API written in Golang running with Docker.
Link: ipapi.art
You will need to install go first. https://golang.org/doc/install
$ git clone https://github.com/gcaggia/ipapi.art.git
$ cd ipapi.art
$ go run main.go
It will start the application on: localhost:18000
Then, to build and deploy the app:
$ go build main.go
$ ./main
A dockerfile has been written to make this app running anywhere.
Basicaly, with docker, it creates a small container (around 6 MB) and the application is ready for production.
To create the container:
$ docker build -t ipapi:1.0 .
$ docker run -d -p 18000:18000 ipapi:1.0