About
This sample app shows how you can "save" a search. The app automatically notifies you when new matching items become available. Saved searches are great for automating repetitive search queries, and to keep up to date with changing content, for example, on websites with real-estate listings and online marketplaces.
The sample app implement the following features:
Save a search
The sample app shows you how to serialize and save the state of a given search (query and facets) using Algolia React InstantSearch and the Algolia JS Helper (1). We are using Cloud Firestore to store the serialized search state (2) and the user's email address and phone number.
Automatically get notified about new items matching your saved search
Using Firebase Schedule Functions, we regularly run the search (3) to find new matching items. We then notify the users via email, SMS, or In-App notifications (5), using providers like Twillio SMS Service, Twillio SendGrid, Amazon SES.