- Docker and Go
Clone the repository with:
git clone github.com/SurkovIlya/message-handler-app
Copy the env.example
file to a .env
file.
cp .env.example .env
Update the postgres variables declared in the new .env
to match your preference.
Build and start the services with:
docker-compose up --build
{
"value": "New message..."
}
"OK"
{
"handled": 7, // - count of messages processed
"inProcess": 0 // - count of unprocessed messages
}
If you need to check the service under load, you can use github.com/SurkovIlya/dudoser