Comments (21)
I am unable to understand what is happening in this. Can you explain me what you have done?
from recipe-search-api.
sure, no problem.
We should create a new API endpoint, that will return all data, that we need in our search form.
so, we'll create a new method at one of the models sample1, sample2, sample3 - sample3 is a crazy method, but i think it'll help you a bit in order to show how i manipulate the data
official docs here: https://loopback.io/doc/en/lb3/Remote-methods.html
from recipe-search-api.
I think I didn't explain this properly. I meant to say what is happening currently in this repo, there is no readme so i have no idea. I tried reading the code and scripts but couldnt understand.
Also why do we need to create fetch when we are having a package which omits our hassle of server calls?
from recipe-search-api.
@chauhannishith ohh, got it. I'll prepare an explanation and buzz you today or tomorrow
from recipe-search-api.
Can you tell me some basics so I can start understanding this till you tell me in detail
from recipe-search-api.
@chauhannishith i create a simple video for you, please take a look: https://vimeo.com/279601405
from recipe-search-api.
can you clear out the table data related to this repository? There are multiple entries for each field
from recipe-search-api.
Also now you have made separate files for different ingredients according to their departments i think i will have to make separate functions to combine them and return
or do you have any other plans for it?
from recipe-search-api.
I am trying to get data from package into the DB but i am getting this error. Do you know where this auto update is? Also i deleted the existing data because there were multiple entries for everything
Sorry there are weather issues so the connectivity is still limited
from recipe-search-api.
i get all your messages. just a bit busy. published 4 articles in 1 day :)
will reply soon, maybe when wake up, but 0 promises
from recipe-search-api.
I still haven't solved this. Can you tell me how you used to run the import file? The database comes as undefined in the import file no matter what i do, I tried keeping the logic in root.js but i am still unable to do this
from recipe-search-api.
from recipe-search-api.
@chauhannishith ok, i'm opened our server. will review it right now. more comments soon.
Btw, jjust to let you know - i've installed groceristar-fetch plugin. so we'll be able to make it work with you together too
from recipe-search-api.
Ok, so looks like our database is clean right now. I start to understand more about your questions
from recipe-search-api.
I started an import script and get an error. will find out and fix it.
Btw, i saw that you've asked a lot of questions - and i didn't answer them. Can you grab that questions into one comment, but put only questions that is still necessary, so i'll be able to anwer them
from recipe-search-api.
@chauhannishith it's not cool to say. but i think we should leave it as is.
i tried to debug it, but what i find - that server doesn't return a datasource. you can check my latest commits and see what i've done.
i'm a bit angry to loopback, because i think this issue related to their changes.
One month ago main server, related to groceristar project started to work strange. and i tried to fix it fast and then gave up and this issue forced me to start a process when we leave our old servers and just migrate to GraphQL approach. what do you think if i'll create a task for you, related to learning how GraphQL works and then we'll rebuild this server together?
I think issues from groceristar server and this server are linked, so maybe it's a good time to move to a new, more easier and clean way to do it.
from recipe-search-api.
tell me what do you think
from recipe-search-api.
Hold on. i think i find something
from recipe-search-api.
Nah, it not works... and as i opened main repository - a lot of other issues people posting too. so this is a dead end i assume
from recipe-search-api.
Hi @atherdon I think you haven't read my messages on slack. I won't be able to help you at least for some time right now in creating new stuff. But I think MLAB has a feature to export JSON files, you can search it and it might solve your issue for atleast some time right now.
i tried to debug it, but what i find - that server doesn't return a datasource.
i also encountered the same issue and tried to work around in root.js file but didn't work.
from recipe-search-api.
from recipe-search-api.
Related Issues (20)
- jslint
- cooking time
- Date stuff(free menu part)
- @TODO add stuff where we can search by title not only at recipe name, but including ingredients and search there.
- create remote methods that will simplify stuff for querying routes.
- visual stuff for better API testing HOT 1
- THINK LIKE WE HAVE A LOT OF STUFF AND HOW THIS WILL AFFECT TO THE SEARCH FUNCTIONALITY
- update attributes HOT 5
- https://www.npmjs.com/package/loopback-search-index
- move to import an updated data for better search
- Simple tasks
- Elastic Search
- please remove mocha package from repo
- include login
- update readme. make it readable
- handle situation then i include and exclude same ingredient_id
- create apiary documentation for current state
- update our import script by using our grocery-fetch package
- test + jest install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recipe-search-api.