akshitagupta15june / PetMe-Prod

PetMe-Prod is an all-in-one platform that allows animals to be adopted, donated to pet lovers, and provides emergency medical care to stray animals in need.
https://pet-me-prod-pet-me-frontend.vercel.app/
MIT License
16 stars 34 forks source link

💡[FEATURE]: Enhance "Adopt Pet" Process for Improved User Experience #79

Open gayatri-p786 opened 3 months ago

gayatri-p786 commented 3 months ago

Is your feature request related to a problem? Please describe. Currently, clicking the "Adopt" button on our pet adoption website does not initiate any adoption process. This results in a confusing and frustrating experience for users who are interested in adopting a pet.

Describe the solution you'd like I would like to implement a streamlined "Adopt Pet" process when users click the "Adopt" button. The solution should include:

Describe alternatives you've considered Alternatively, we could:

Additional context The current lack of functionality for the "Adopt" button diminishes user trust and engagement. Implementing a functional adoption process will not only enhance user experience but also increase the likelihood of successful pet adoptions through our platform.

cb7chaitanya commented 3 months ago

@gayatri-p786 Most aspects of the authentication process will be handled on the signup/login page which is being implemented by another contributor, can you give me an outline of what is the adoption process you are planning going to look like

gayatri-p786 commented 3 months ago

The flow that i thought would be as follows:

We can stop here and have the further process manual for now or even go ahead and integrate following advanced features:

cb7chaitanya commented 3 months ago

See that is what i am saying, we are already collecting information like the name, contact and address at the time of signup, so we don't need to collect it again, the idea was that we would just store the user Id for the person who is adopting the pet, the thing you can do is, just have a single adopt button on the pet's page, the user details are fetched from the bearer token in the cookie, that logic would be in an authentication middleware, this user Id can then be used for the application process

And the advanced features are a really cool bunch of ideas which we can definetly implement

gayatri-p786 commented 3 months ago

So how about I start working on the form after authentication like reason for adoption, the future living conditions for the pet, if the person had pets previously and so on. Then that form can be approved or declined by admin and then it can move on to digital adoption paperwork and payment integration. If that seems okay, then I can start working on this.

cb7chaitanya commented 3 months ago

Works for me @gayatri-p786 Assigned

gayatri-p786 commented 2 months ago

Hi, I have completed adoption form component for frontend. For backend, fetching userId needs the Authentication Backend done so that i can fetch from cookie or session. How do I proceed?