make build-frontend
make build-backend
docker build -t "todo-webapp-backend:latest" -f backend.Dockerfile .
make run-backend
docker run -p 127.0.0.1:8080:8080 todo-webapp-backend
docker-compose up -d --remove-orphans
- backend
- vibe.d
- PostgreSQL
- frontend
- elm
curl -X POST -H "Content-Type: application/json" -d "{\"text\" : \"test\"}" http://localhost:8080/tasks
curl -X POST -H "Content-Type: application/json" -d "{\"completed\" : true}" http://localhost:8080/tasks/1
curl -X DELETE -H "Content-Type: application/json" http://localhost:8080/tasks/1