🏥 AniHealthTracker API

Pattern-based health insights with role-based access control

🚀 Quick Start

New user? Create an account first:

POST /auth/register
Content-Type: application/json

{
  "username": "myuser",
  "password": "securepass",
  "timezone": "UTC"
}

🔐 Login

Get your access token:

POST /auth/login
{
  "username": "your_username",
  "password": "your_password"
}

Copy the access_token and use it in Swagger UI (Authorize button)

📚 API Documentation

📖 Swagger Docs 📄 ReDoc
💡 Tip: Log in to see all endpoints available to your role. Click "Authorize" and paste your token.

✅ Health Check

/health - API status

👤 What Can You Do?

Regular Users

Admins