# Simple Todo API (Demo) This is a minimal, runnable RESTful API aligned with the plan. It uses Gin and an in-memory store. ## Run ```bash go run ./main.go ``` The server listens on `:8080`. ## Frontend The UI is served from local files under `test/web` at `/`: ```bash open http://localhost:8080/api ``` ## Quick Demo ```bash curl http://localhost:8080/api/health curl -X POST http://localhost:8080/api/v1/auth/login curl -X POST http://localhost:8080/api/v1/tasks \ -H 'Authorization: Bearer demo' \ -H 'Content-Type: application/json' \ -d '{"title":"Learn Gin","priority":1,"tags":["demo"]}' curl http://localhost:8080/api/v1/tasks \ -H 'Authorization: Bearer demo' ``` ## Notes - Data is in-memory only; restart will clear it. - Auth is a placeholder; any non-empty `Authorization` header is accepted.