File size: 1,172 Bytes
4f01198
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
title: PawCare API
emoji: 🐾
colorFrom: purple
colorTo: indigo
sdk: docker
pinned: false
app_port: 7860
---

# PawCare Backend API

Django REST API for the PawCare pet care booking platform.

## Endpoints

| Method | Path | Description |
|--------|------|-------------|
| POST | `/api/auth/login/` | JWT login |
| POST | `/api/auth/register/` | Register new user |
| POST | `/api/auth/logout/` | Blacklist refresh token |
| POST | `/api/auth/refresh/` | Refresh access token |
| GET/PATCH | `/api/auth/me/` | Own profile |
| GET | `/api/caregivers/` | List caregivers (filterable) |
| GET | `/api/caregivers/{id}/` | Caregiver detail |
| GET | `/api/services/` | List services |
| GET/POST | `/api/pets/` | Manage own pets |
| GET/POST | `/api/bookings/` | Bookings |
| PATCH | `/api/bookings/{id}/status/` | Update booking status |
| POST | `/api/bookings/{id}/review/` | Leave review |
| GET | `/api/conversations/` | Messaging |
| POST | `/api/upload-image/` | Upload to HF Hub |
| GET | `/api/admin/stats/` | Dashboard stats (admin) |
| GET | `/api/docs/` | Swagger UI |

## Admin Panel

`/admin/` — Django Admin for caregiver management (requires superuser).