Um site para uma ong de pets visando promover a adoção de animais e eventos de adoção
O site pode ser acessado clicando aqui
POST /register| Field | Type | Description |
|---|---|---|
name |
string |
User's full name |
email |
string |
User's email |
password |
string |
User's password |
POST /sessions
| Field | Type | Description |
|---|---|---|
email |
string |
User's email |
password |
string |
User's password |
GET /petsGET /pets/{petId}POST /pets| Field | Type | Description |
|---|---|---|
name |
string |
Pet's name |
age |
number |
Pet's age |
breed |
string |
Pet's breed |
size |
string |
Pet size (small/medium/large) |
sex |
string |
Pet's sex (M/F) |
about |
string |
Description about the pet |
castrate |
boolean |
Whether pet is neutered/spayed |
vacinated |
boolean |
Vaccination status |
whatsapp |
string |
Contact whatsapp number |
petImg |
file |
Pet's image |
PUT /pets/{petId}(Uses same multipart form data as Create Pet)
DELETE /pets/{petId}GET /eventPOST /event| Field | Type | Description |
|---|---|---|
title |
string |
Event title |
description |
string |
Event details |
date |
string |
Event date (DD/MM/YYYY) |
img |
file |
Event image |
DELETE /event/{eventId}- Most endpoints require a Bearer Token obtained from the
/sessionsendpoint - Token is valid for a limited time (typically 1 hour)
- Include the token in the
Authorizationheader for protected routes
- Production:
https://adopetapi-production.up.railway.app - Local Development:
http://localhost:3333
Client: React
Server: Node, Express


