Contains a sample PHP application that can be run in a Docker container.
- Docker installed and running (make sure to check https://docs.docker.com/engine/installation/mac/ if you are using a Mac)
- Clone this repository and change into the cloned directory
- Run
docker-compose up -d
to start all containers - Sending a GET Request to
http://<docker-host>/
should give you this response body:
{
message: "Hello World"
}
If you are on a Mac, you need to use the IP address of your Docker machine, which usually is 192.168.99.100
.
If you want to play around with the API you can import /meetup-service/meetup_service.json.postman_collection
into Postman to get a complete list of available requests that can be executed right away.