Implemented new pet creation page with submission logic.
Added action function for adding new pets in the pet store.
Introduced a button on the homepage for adding new pets, including redirection logic to the new pet creation page.
Added routing for the pet creation page (add-pet route).
Modified the Pet interface to make id, owner, careTakers, and needs optional, and changed UserId type to User type.
Fixed bugs related to header buttons and logic.
Updated backend validation for the addNewPet function to accommodate changes.
Adjusted species and breed fields in the pet model to have a minimum length of 0, ensuring optional fields do not require a minimum length but enforce it if provided.
add-pet
route).id
,owner
,careTakers
, andneeds
optional, and changedUserId
type toUser
type.addNewPet
function to accommodate changes.species
andbreed
fields in the pet model to have a minimum length of 0, ensuring optional fields do not require a minimum length but enforce it if provided.