App built with Ruby and Sinatra.
Used as test REST API endpoint.
Docker
Ruby
Sinatra
For development environment:
cd to project root folder.
We have 1 container in development environment.
Create images + create and run containers:
docker-compose -f ./docker-compose-dev.yml up
Stop and remove containers:
docker-compose -f ./docker-compose-dev.yml down
Rebuild images + create and run containers:
docker-compose -f ./docker-compose-dev.yml up --build
List services:
docker-compose -f ./docker-compose-dev.yml ps
With curl:
curl -X POST localhost:3001/notification
curl -X GET localhost:3001/notification