wolves bc69ad4e33 refactor: remove unused assets and components, update styles and structure
- Deleted base.css and logo.svg as they were no longer needed.
- Updated main.css with new color palette and improved styles for various components.
- Removed HelloWorld.vue and TheWelcome.vue components to streamline the project.
- Deleted WelcomeItem.vue and associated icon components to clean up unused code.
- Enhanced responsiveness and accessibility across styles and components.
2026-01-25 18:03:15 +08:00
2026-01-22 22:42:10 +08:00
2026-01-22 22:42:10 +08:00
2026-01-22 22:42:10 +08:00

Simple Todo API (Demo)

This is a minimal, runnable RESTful API aligned with the plan. It uses Gin and an in-memory store.

Run

go run ./main.go

The server listens on :8080.

Frontend

The UI is served from local files under test/web at /:

open http://localhost:8080/api

Quick Demo

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.
Description
No description provided
Readme 102 KiB
Languages
Go 33%
Vue 31.1%
CSS 23.3%
JavaScript 6.5%
HTML 5.2%
Other 0.9%