-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
- If the user has a location set:
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
- With data received 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
- With data received from server:
- Home Page (/):
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done