-
Notifications
You must be signed in to change notification settings - Fork 3
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
move from predefined arrays to ajax calls to api #35
Comments
Can I pick this up? Please provide me details if you are okay with it |
it's a not an easy task - do you think you can handle it? @nickisaacs |
I do this for a living, so yes :) |
Ok, @nickisaacs good to know about it! I'll be happy to help with any of your questions. and will try to speed up your development process, by giving as much information as i can. |
@atherdon I went through your documentation quickly. I could see this: https://chickenkyiv.gitbook.io/documentation/search-api-tests/simple-queries/ingredients-by-name |
perfect - thank you!
|
you can start from fetching data for selects:
https://chickenkyiv.gitbook.io/documentation/search-api-tests/attribute
|
but keep in mind that requests should be separated from components some
how. soon or later we plan to switch from REST to graphql - because of
crazy generated API endpoints of loopback :)
|
@atherdon |
I think you should check this page for ingredient endpoints: https://chickenkyiv.gitbook.io/documentation/search-api-tests/ingredients In short, you should check this URL for the list of ingredients: Maybe we should use React Content API instead of Redux? Q: Can you add |
please follow this link: https://github.com/ChickenKyiv/recipe-search-react/invitations |
@atherdon Would it be possible to have an API that returns data for all the selects in one network call? Does that sound like a good idea to you? |
yes, i can do this. will post an update when it'll be done
|
your question is just +1 for moving from REST to graphQL :)
|
@atherdon |
@nickisaacs you can undo the commit and make it available on a different branch. That way he will have both options to compare and choose |
@chauhannishith Ok done :) PS - My eslint autoformatted all the files I edited. I hope that's not going to be a problem |
@nickisaacs i'm working on updates, related to form right now. will review your changes when finish my part. |
also similar to react native app recipe logic
The text was updated successfully, but these errors were encountered: