Hello! 👋 This e-commerce application allows you to search lightning fast through a wide variety of data types through a dataset of Amazon products.
MongoStore implements many Atlas Search features from autocomplete to custom function scoring. Using the $search operator in a MongoDB aggregation pipeline, we can build fine-grained searches across text, numerics, and geospatial data.
No additional servers or software needed. No need to keep data in sync. Everything is done in MongoDB Atlas.
Current features implemented in this e-commerce application include:
- authentication and authorization
- fuzzy matching
- highlighting
- autocomplete
- relevance-based scoring
- custom function scoring
Future Atlas Search features to implement can include:
- range queries
- facets
- synonyms
This application was created using:
- React
- Tailwind CSS
- MongoDB Realm for backend HTTPs endpoints and webhooks
- A sample dataset of Amazon products
- getProductsEndpoint in the Home.js page on line 24
- Suggestions_AC_Endpoint, used for autocompleted product names, in the Header.js component on line 17.
- A MongoDB Atlas account. Get one for free here.
- A recent version of Node.js and npm.
- Amazon product sample dataset
- (Recommended) MongoDB Compass - GUI
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Steps to reproduce the funcationality with Atlas App Services:
Trigger Search queries with GraphQL:











