Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find Partners Page #8

Open
trle5720 opened this issue Nov 16, 2023 · 0 comments
Open

Find Partners Page #8

trle5720 opened this issue Nov 16, 2023 · 0 comments
Assignees

Comments

@trle5720
Copy link
Collaborator

User should be able to view all reservations that are not fully booked and still looking for a partner.

BACKEND

  • Partner Search Feature
    • Request: GET
    • Parameters: {}
    • /find-partners, payload={}
    • Functionality:
      • If the user has a location set:
        • SELECT rows in the facilities table where distance >= some upper bound of miles
        • Order them based on a metric such as total reservation count at that facility
      • Else:
        • Default to querying all rows
      • Return a JSON object containing rows in the reservations table where it is open and is in the future I.e CURRENT TIME <= RESERVATION TIME
        FRONTEND
  • Partner Search Feature
    • Home Page (/):
      • With data received from server:
        • Display card objects displayed in a carousel limiting the amount of objects at 8
        • Each card contains a reservation that is in the data sent from server
    • Partner Search Page (/find-p)
      • With data received from server:
        • Display card objects displayed in a carousel (no limit show all)
        • Each card contains a reservation that is in the data sent from server
@trle5720 trle5720 converted this from a draft issue Nov 16, 2023
@MitchKubina MitchKubina self-assigned this Nov 29, 2023
@MitchKubina MitchKubina moved this from Todo to In Progress in Court Connect Nov 30, 2023
@MitchKubina MitchKubina moved this from In Progress to Done in Court Connect Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants