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

[BACKEND] Search/filter Endpoints #11

Open
1 of 3 tasks
hkrishna opened this issue Dec 22, 2015 · 1 comment
Open
1 of 3 tasks

[BACKEND] Search/filter Endpoints #11

hkrishna opened this issue Dec 22, 2015 · 1 comment
Assignees

Comments

@hkrishna
Copy link
Collaborator

  • daycare endpoint that returns all the daycares in JSON format (this powers the main search page)
    GET /daycare?name=foo
    GET /daycare?lat=xx&lon=xx
    GET /daycare?grade=a,b or GET /daycare?grade=all
    GET /daycare?hasInspections=true&lat=xx&lon=xx
  • daycare
    GET /daycare/:id returns information of that one particular daycare (if we need to build individual daycare show pages
  • violations
    GET /daycare/:id/violations returns just the violations for a given daycare

This is good place to start - I'm sure as we build the frontend we'll come up with more requirements.

@hkrishna
Copy link
Collaborator Author

hkrishna commented Jan 2, 2016

#27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant