/enterprise-classics

HTTP API to add and display classic enterprise decisions you won't go with.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

enterprise-classics

Dockerized API to add and display classic enterprise decisions you won't go with.

Build

docker build -t enterprise-classics .

Create Volume for Database File

docker volume create enterprise-classics

Run

docker run -d -v enterprise-classics:/app/data -p 8080:3000 enterprise-classics

or use ready builds from Dockerhub:

docker run -d -v /<insert your local data dir. Example: /data>:/app/data -p 8080:3000 plehr/enterprise-classics

UI

You can access the UI: http://[docker-host]:8080/ui

Database is empty by default. You must HTTP POST an entry.

curl --request POST --url http://[docker-host]:8080/ --header 'content-type: application/json'--data '{"title":"Title", "text":"Text"}'