Hello! 👋 Do you want to run an Atlas Search Workshop the easy way? Clone this repo!
https://www.atlassearchworkshop.com
In the hosted Atlas Search Workshop application, you'll find:
- a Google document with step-by-step instructions
- an embedded CodeSandbox (ready to fork for workshop attendees) with the code for the MongoDB Netflix Clone found at www.atlassearchmovies.com (https://github.com/khuaulme/AtlasSearchWorkshop2022)
By building out the MongoDB Netflix Clone application, you'll demonstrate all sorts of complex, fine-grained full-text searches on your Atlas data.
Current features implemented in this Movie Search Engine demo application include:
- fuzzy matching
- highlighting
- autocomplete
- relevance-based scoring
- custom function scoring
Future Atlas Search features to implement can include:
- facets
- synonyms
The movie search application was created using:
- React
- MongoDB Realm for backend HTTPs endpoints and webhooks
- The Atlas sample dataset of sample_mflix.movies
This application is hosted entirely on Realm and calls 2 API endpoints:
- 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.
- Atlas sample dataset
- (Recommended) MongoDB Compass - GUI (optional)
- Load data to Atlas cluster:
- database:
sample_mflix
- collection:
movies
- database:
- Create Search indexes.
- Create a Realm Application.
- Create 2 HTTP Endpoints inside of Realm.
- Clone the repo.
- Navigate inside directory.
- Run
npm install
. - Run
npm start
.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Feel free to customize for the event name and details, presenters, resources or even the git repo in the embedded code sandbox.
Brian Leonard - In my 4+ years at MongoDB, I have never written a workshop that wasn't ripped off of Brian in some way. #BeLikeBrian
Snehal Bhatia- That Google doc, tho!
Also please join our online MongoDB Community to interact with our product and engineering teams along with thousands of other MongoDB and Realm users.
Have fun and happy coding!