Airbnb Search App with Testing Data from MongoDB
About
This is a simple full stack demo app that was built with:
Frontend: React, Material UI, Google Maps Javascript API
Backend: Express (Node.js), MongoDB Atlas
Database: MongoDB
This app makes use of the sample data sets of Airbnb, provided by MongoDB. It demonstrates the use case of geoWithin operator to perform geographical search in a smooth and fast way. Wanted to create an autocomplete (real time retrieval of database index field), but came across this available test dataset from the documentation (geoWithin - MongoDB Atlas), and found out that this geoWithin is more powerful than I thought.
Demo
In this app, user can search type in the keyword and pin the desired location (right click on the map), and while you type, it is retrieving data on the pre-indexed fields from MongoDB and presenting them as…