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

[V2] Re-factor Search to use "Search and Save" #73

Open
nsafai opened this issue Jan 28, 2019 · 0 comments
Open

[V2] Re-factor Search to use "Search and Save" #73

nsafai opened this issue Jan 28, 2019 · 0 comments

Comments

@nsafai
Copy link
Contributor

nsafai commented Jan 28, 2019

Currently, we are searching within our own DB.

However, we should also expand this search to use Recipe API's until we hit our API limit.

Ideally, the logic should look something like this:

  • search recipe API until we hit API limit, then default to DB
  • if search results return anything that is not in our DB, save those recipes in our DB, then return results from our DB
@nsafai nsafai changed the title Re-factor Search to use "Search and Save" [V2] Re-factor Search to use "Search and Save" Jan 28, 2019
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