Skip to content

iximiuz/todolist

Repository files navigation

Todolist - Your TODO list as a service

This toy web application is created specifically for the iximiuz Labs' Dagger course.

To start the application using Docker Compose, run the following command:

make up

Then create a few TODO items:

curl -X POST -d '{"task": "Finish the course"}' http://localhost:8080/todos
curl -X POST -d '{"task": "Nail the sales!!!"}' http://localhost:8080/todos

Retrieve the list of all the tasks:

curl -X GET http://localhost:8080/todos

Delete a task:

curl -X DELETE http://localhost:8080/todos/{id}

Run unit tests:

make test

Run end-to-end tests (requires make up to be running):

make test-e2e

Check the Makefile for all available commands.