Is there possible to use elastic cloud search in react-native? - reactjs

I found that in react elastic search work proper as well I found code of expo also. But not for react-native.
Reactive search I found package but this was 3 years old not update anything on that project. And also giving me lot of issue. So please tell me that any other way to use elastic search with react-native.
If not then please let me know any alternative way to do that functionality.
Thanks in advance

I found that answer
we don't use from our side to make elastic data in use,
for elastic data possible from the backend side.
simply backend developer can provide you elastic API
and use from front end side as we simply call API
Hope this can help you

Related

Gatsby Webhooks and how to trigger the build from Strapi

we are currently working on connecting the Strapi cms with the gatsby on the front end.
My question is - do we need to set up the Webhooks to trigger the build inside of the repo on the Bit Bucket or it needs to be triggered on a hosting?
If you know the solution I would really appreciate it if you could share the procedure with me cause I'm seeing a lot of different cases online but I wasn't able to find this specific one.
Our hosting is AWS S3, and Gatsby is fetching the data from Strapi via GraphQL.
Thank you, guys!
Here is an example that is deleted from the documentation - https://github.com/strapi/strapi/blob/daaf1392d217a5927ea40320881bfec3208c9927/docs/3.0.0-beta.x/guides/webhooks.md
That uses the model's life cycles but you can apply this logic with the new Webhook feature that is now builtin Strapi.

To use React, should I use nodejs (express)?

I plan to build Web application for which the structure is:
My questions are:
Is that correct structure in the commercial?
I plan that FrameWork of Frontend is express(nodejs) at first, but I try to change to django or flask because nodejs is my first use. I wonder if react can be used in this combination.
How about using firebase? You can handle authorization, store and retrieve data. I believe that it will be much easier than any other alternative.
This great article will enable you to implement authentication in few hours. Handling data is also simple, I would use redux as well...

Upload files from google drive to server in Ionic application

I'm new to Angular and Ionic. I'm trying to create a page where a user can upload the file from google drive to the server. He has to do it by logging into Google drive then choose the file from google drive and upload into the server. I don't have any idea of how to start and where to start. If you can guide me or give me an example, it would be helpful.
Thank you.
If you are just starting, I would recommend to start reading first about the documents regarding the Drive API and Ionic Development/ AngularJS. This would help you understand how Drive API works and what are the available functions on the API you use (REST, iOS, Android). These document can help you understand the flow and some code samples that will explain how the function will work. You can also find handling of errors, best practices and performance tips to help you improve your app.
Here are some github repo that can help you with the implementation:
Ionic
AngularJS
Hope this helps.

Multiple domains with the same application running firebase as the backend [duplicate]

This question already has answers here:
How do I make a custom subdomain on Firebase?
(2 answers)
Closed 6 years ago.
I'm looking to build a single page application, preferably with angular on the client and firebase as the backend. As for the general data storage there are no need for advanced queries and no need for something like Mongodb along with the MEAN stack for example (which I'm most comfortable developing in otherwise). On the server side firebase has sufficient requirements for what we are looking to build. My question is and what seams to be very hard to find any information about is:
Is it possible to use **multiple domains with firebase running in the background with the same application and database for each and every domain?** (Possibly using node as a static file server alongside with it if firebase isn't enough to tackle this on its own). What I mean by this is that we want to be able to build the same system for our clients but on their separate domains.
The goal is to have a server side application running all the same backend-logic with multiple websites and with angular change the front-end components depending on what domain the user visits. (This has already been fixed and works properly with angular).
I'm not able to find any information about this other than using multiple applications with the same domain. This is not what I aim to do. And the firebase documentation isn't as much help either. The firebase hosting capabilities are the issue for me here and if anyone could point me in the right direction on where to get started it would be very much appreciated!
I've looked around for other alternatives when it comes to routing such as using vhost middlevare with the express framework or Nginx to setup some proxy of some sort but I recon that this shouldn't be necessary or at all possible to use with firebase. And I hope that there's maybe a more straigh-forward approach.
Here is an active issue on using a proxy with firebase:
(Active as of now: June 2016)
https://github.com/firebase/firebase-tools/issues/155
Thanks and I hope this is appropriate to ask in this forum, otherwise please do let me know where I can find more information about this.
I eventually found out what I had to do and it now works the way I need it to. Hopefully this can help if anyone is wondering the same thing in the future.
In the firebase console you can add authorized domains by going to:
https://console.firebase.google.com/project/THE_PROJECT_ID/authentication/providers
and adding the set of domains to your application. (Initially localhost and the firebase-app domain is set when creating the app)
and for test purposes setting the hosts in the GNU. (I'm using mac.)
sudo nano /private/etc/hosts
I'm now able to serve the same application on both: foo.com:5000 and bar.com:5001 just as I was looking to do from the beginning.

solr faceted search UI development

I am working on a POC, where I have to display faceted search result on web page. can anybody please help me to suggest what all set up I need to configure to display. I would prefer java technologies. Just to mention, I have solr cloud running on remote server.
I would like to know:
1. Should I use MVC framework?
2. How will my local interact with remote solr server?
3. How will I send query through java code and what technology I should use to display faceted search result?
or any example how someone is doing will be very helpful.
Please help me on this.
Thanks,
One of the quickest ways to create your POC is by using the VelocityResponseWriter, this response writter is bundled in Solr distribution, it's basically a series of Apache Velocity templates that are very easy to customize.

Resources