Skip to content
SE. kelvin edited this page Sep 12, 2025 · 1 revision

🔌 API Reference

This page documents the API endpoints available.

Authentication

POST /api/login

  • Request: { "email": "user@test.com", "password": "secret" }
  • Response: { "token": "abc123" }

User Profile

GET /api/user/:id

  • Returns user details

Tasks

GET /api/tasks → List tasks
POST /api/tasks → Create a task
DELETE /api/tasks/:id → Delete a task

Clone this wiki locally