Skip to content

Featured Parks Page #7

@trle5720

Description

@trle5720

User should be able to access the page and see all the featured parks.

BACKEND:

  • Featured Facilities Features
    • Request: GET
    • Parameters: {}
    • /featured-parks, 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 facilities table where

FRONTEND

  • Featured Facilities 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 park that is in the data sent from server
    • Featured Facilities Page (featured-parks):
      • With data received from server:
        • Display card objects displayed in a grid (no limit, contains all in the range)
        • Each card contains a park that is in the data sent from server

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions