Ports service
This is a simple service to manage ports using clean architecture.
How to run using postgres
ports server -p 8080 -r postgres -d postgres://postgres:postgres@localhost:5432/ports?sslmode=disable
How to run using memory
ports server -p 8080 -r memory
How to run in docker
docker-compose up
Endpoints
PUT /ports
curl -i -X PUT -d @./testdata/ports.json http://localhost:8080/ports