Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium deleniti eius quo reiciendis voluptatum doloribus harum nihil, nesciunt, sint autem cumque laudantium, esse. Dolorum cum rem similique doloribus rerum fugit?
Build the image locally:
npm run docker.build
Run the image either with
npm run docker.run
or
docker run --rm=true -p 8000:8000 koenighotze/senacor-news
The application exposes the following endpoints:
<host:port>/events/
: exposes Senacor events<host:port>/senacor/
: deprecated, same as theevent
endpoint<host:port>/health/
: used for checking the health of the application
This is an example output:
[
{
"date": "22.06.2017",
"location": "Berlin",
"summary": "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quis
optio adipisci, reiciendis id voluptatibus minus, earum",
"title": "Senacor Summer Camp"
},
{
...
}
]
This is an example output, if the app is healthy:
{
"status": "ok"
}
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Incidunt mollitia repellat magni dolorum, ipsum cum optio iusto, dolorem, illum quis saepe. Explicabo, debitis laudantium ipsam consequatur tempora, illum dignissimos sit!
- 2017-06-22 - Extracted from monolithic repository and added auto deployment
Copyright David Schmitz. Licensed under MIT. http://opensource.org/licenses/MIT