Service at small scale to distribute data. It accepts incoming HTTP requests (PHP service), it communicates through a Job Queue (Redis) with another service (Golang service), and this last service is in charge of delivering it to a specific endpoint. The response of these last request is then stored in a log file.
docker-compose up -d // runs services on background
docker-compose down // stops services and remove them
- POST http://192.168.99.100:8000
- BODY:
{
"endpoint":{
"method":"GET",
"url":"http://sample_domain_endpoint.com/data?title={mascot}&image={location}&foo={bar}"
},
"data":[
{
"mascot":"Gopher",
"location":"https://blog.golang.org/gopher/gopher.png"
}
]
}
- Golang
- PHP
- Redis
- Docker