A simple full-stack TodoList application built with Svelte on the frontend and Deno + Hono on the backend. The app allows users to add, mark as done/undone, and delete todos, with validation using Zod.
ā
Add Todos ā Name must be 3-30 characters (validated with Zod)
ā
Mark as Done/Undone ā Click the checkbox to toggle the status
ā
Delete Todos ā Click the Remove
button to remove a todo
git clone https://github.com/omilaeva/TodoList.git
cd TodoList
Run the following command to build and start the containers:
docker compose up --build
This will:
To stop the running containers, press CTRL+C
or run:
docker compose down
If you run docker compose down
the database will be deleted and all the data in it will be lost.
Method | Endpoint | Description |
---|---|---|
GET | /todos | Get all todos |
POST | /todos | Add a new todo (name required) |
PUT | /todos/:id | Toggle done/undone or change the name |
DELETE | /todos/:id | Delete a todo |