How cristianlira-dev/tcc-adotepatas works
AdotePatas is a PHP/MySQL adoption platform for adopters, individual pet guardians, NGOs, and administrators. Its main journey is pet discovery and filtering, viewing a pet, submitting an adoption interest form, and communicating with the guardian; pet listings also pass through administrator moderation. The map preserves documented account, profile, favorites, chat, recovery, and location capabilities. README claims support several areas whose handlers were not sampled, so those links are limited to documented behavior; Google Maps is shown as optional.
Main entry points: conexao.php MySQL database · pets-adocao.php Browse pets · admin-acoes.php Admin actions · index.php Reject pet
Components 22
Pet discovery
- Browse pets
AdotePatas/pets-adocao.php - Filter pets
AdotePatas/filtrar-pets.php - Pet details
AdotePatas/pet-detalhe.php - Google Maps
Accounts and profiles
- Register and login
AdotePatas/autenticacao.php - Registration handler
AdotePatas/processa_cadastro.php - Profile management
AdotePatas/perfil.php - Pet management
AdotePatas/cadastrar-pet.php
Adoption and chat
- Adoption interest
AdotePatas/formulario-adocao.php - Process adoption
AdotePatas/processa-adocao.php - Chat experience
AdotePatas/chat/index.php - Message endpoint
AdotePatas/buscar-mensagens.php - Pet favorites
AdotePatas/favoritar-pet.php
Pet moderation
- Admin actions
AdotePatas/admin-acoes.php - Approve pet
AdotePatas/aprovar-pet.php - Reject pet
AdotePatas/recusar-pet/index.php
Platform services
- MySQL database
AdotePatas/conexao.php - Password recovery
AdotePatas/recuperar-senha/index.php - Email service
AdotePatas/email-service.php
Other components
- Adopter
- Guardian / NGO
- Administrator
Connections 31
- Adopter → Browse pets: browse
- Guardian / NGO → Browse pets: browse
- Browse pets → Filter pets: filter
- Browse pets → Pet details: view pet
- Pet details → Adoption interest: express interest
- Adoption interest → Process adoption: submit form
- Adopter → Register and login: register / login
- Guardian / NGO → Register and login: register / login
- Register and login → Registration handler: submit registration
- Guardian / NGO → Profile management: manage profile
- Guardian / NGO → Pet management: manage pets
- Adopter → Pet favorites: favorite pets
- Adopter → Chat experience: open chat
- Guardian / NGO → Chat experience: open chat
- Chat experience → Message endpoint: fetch messages
- Administrator → Admin actions: manage platform
- Admin actions → Approve pet: moderate listings
- Admin actions → Reject pet: moderate listings
- Adopter → Password recovery: request reset
- Password recovery → Email service: send reset email
- Reject pet → Email service: notify guardian
- Browse pets → Google Maps: show locations
- Registration handler → MySQL database: store accounts
- Pet management → MySQL database: store pet records
- Filter pets → MySQL database: query listings
- Process adoption → MySQL database: record adoption
- Message endpoint → MySQL database: read messages
- Pet favorites → MySQL database: store favorites
- Approve pet → MySQL database: update status
- Reject pet → MySQL database: update status
- Password recovery → MySQL database: store reset token