We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add the businesses domain in order to retrieve data about the businesses.
The frontend should receive the locations data according to these three filters:
A new service should be created for each filter since the logic to parse the data is different.
GetOldestBusinessService
GetBusinessWithMostLocations
The controllers can be the following:
BusinessesController
show
oldest
most-locations
index
GetAllBusinessesService
BusinessWithMostLocationsController
OldestBusinessController
Return only the first page of businesses
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the feature request
Add the businesses domain in order to retrieve data about the businesses.
Describe the solution you'd like
The frontend should receive the locations data according to these three filters:
A new service should be created for each filter since the logic to parse the data is different.
GetOldestBusinessService
GetBusinessWithMostLocations
The controllers can be the following:
BusinessesController
show
method receives two types of query params (oldest
andmost-locations
)index
method returns all the locations fetched from the data source.Tasks
GetOldestBusinessService
and add testsGetBusinessWithMostLocations
and add testsGetAllBusinessesService
and add testsBusinessesController
BusinessWithMostLocationsController
OldestBusinessController
Notes
Return only the first page of businesses
The text was updated successfully, but these errors were encountered: