PetCarePlus

Pet Healthcare
AI DocsPostman
CodeLive
FLOW:
Browse care content
Ask the AI
Provider role
Owner listing
Admin surface
Describe a symptom
Find a provider
Browse adoptable animals
Save a resource
Provider handoff
Continue signed in
Suggested provider
Await approval
Add services
Hidden until verified
Verified provider
Public visibility
Bookable catalog
Services shown
Open provider
Book from list
Favorite
Choose service
Save provider
Find recommended care
Book match
Await provider
Provider notified
Complete visit
Cancel
Status notice
Cancellation notice
Book another
Review unlocked
Completion notice
Provider notified
Edit or delete
Public review
Listing live
Owner applications
Apply
Request score
Owner notified
Score available
Approve
Applicant notified
Rejected keeps browsing
Final status
Open booking
Open application
Revisit provider
Provider correction
Catalog updates
01
User active or inactive

Account access

A visitor registers as pet owner, farmer, or provider, then receives HttpOnly JWT cookies. Provider accounts start inactive.

PUBLIC
02
anonymous

Public discovery

Visitors read the animal catalog, bilingual resources, and the Bangladesh geography tree without authentication.

PUBLIC
03
AISession ended

AI diagnosis

An anonymous or signed-in user submits an animal type and problem description; Gemini returns urgency, diagnosis, care advice, resources, and ranked providers.

PUBLIC
04
ServiceProvider is_verified=false

Provider onboarding

A provider-role user creates one flat ServiceProvider profile with type, location, contact, and supported animals. It remains unverified and hidden from public lists.

PROVIDER
05
User active

Provider verification

Verification happens only in Django admin. The approve action generates a new password, activates the user, marks the profile verified, and emails credentials.

ADMIN
06
ProviderService rows available

Service setup

The provider adds priced services and keeps supported animal links in sync, then customers can select those services when booking.

PROVIDER
07
anonymous or authenticated

Provider search

Public discovery filters verified active providers by type, animal, region, or 15km GPS radius and reports whether the match was exact or a fallback.

PUBLIC
08
anonymous or authenticated

Provider detail

The detail page shows verified provider information, location, contact, services, supported animals, rating, and public reviews.

PUBLIC
09
AISession in progress or ended with typed diagnosis fields

AI chat session

A signed-in user starts or continues a session; the API injects resource context, appends turns, and on completion writes urgency, advice, and provider matches.

PET_OWNER
10
Booking pending

Create booking

A pet owner or farmer books a specific provider service and animal type. The API validates the relationship and creates a pending appointment.

PET_OWNER
11
Booking confirmed, completed, or cancelled

Booking decision

The provider owner changes the appointment status; customers may only cancel and admins may set any status.

PROVIDER
12
Booking cancelled

Booking cancelled

A customer or provider cancels the appointment. The status persists and the counterpart is notified; no payment or slot release exists.

PET_OWNER
13
Booking completed

Visit completed

The provider or admin marks the booking completed, which unlocks the customer's one review.

PROVIDER
14
Review exists

Write review

The booking customer submits one 1-5 review with an optional bilingual comment. The reviewer and provider are derived, and the provider aggregate refreshes.

PET_OWNER
15
Review updated or deleted

Review lifecycle

The review author or an admin can update or delete a review; deletion recalculates the provider rating.

ADMIN
16
RehomingListing active

Create rehoming listing

An authenticated owner publishes pet identity, health, photo, reason, requirements, and location. Only cat and dog types pass validation.

PET_OWNER
17
anonymous or authenticated

Rehoming discovery

Public discovery exposes active listings, filtered by district, GPS radius, or the signed-in user's local network fallback.

PUBLIC
18
Application pending

Submit application

A signed-in user applies to an active listing with a message. Self-application, inactive listings, and duplicates are rejected before AI scoring.

PET_OWNER
19
Application pending, ai_score 0-10 or null

AI adoption score

Gemini receives the listing requirements and applicant message and returns a 0-10 fit score that is stored on the application.

SYSTEM
20
Application approved/rejected/cancelled

Adoption decision

The listing owner or admin moves an application to reviewed, rejected, approved, or cancelled. Approval closes the listing and rejects every other application.

PET_OWNER
21
Listing adopted

Adoption complete

The listing leaves public discovery and the approved application is final. No pet-ownership record is transferred.

SYSTEM
22
Unread notification row

Notification feed

Booking, application, and review signals create bilingual notification rows; users read and mark them through a self-scoped inbox.

SYSTEM
23
SavedItem exists or is deleted

Saved items

Authenticated users bookmark providers or resources through a generic saved-item table and see saved state on detail/list responses.

PET_OWNER
24
Account/catalog state changed

Admin operations

Django admin handles account activation, provider verification, and moderation; the API adds only admin-only animal-type writes.

ADMIN
85%