This is a demo application which marks locations on Google Map and helps us to search data within a Range, using NodeJs as Backend server and ReactJs as Frontend and MongoDb as Database.
- Make sure you have NodeJS and npm installed.
- Install your dependencies
cd path/to/location-finder-demo; npm install cd path/to/location-finder-demo/frontend/assets; npm install
- Change the required config settings
you will find a file named index.js in which you need to replace almost all the settings with your configuration.
cd path/to/location-finder-demo/server/configuration
you will find a file named config.js in which you need to provide your clientId (for Google), appId (for Facebook) for OAuth Login and also provide google maps API.cd path/to/location-finder-demo/frontend/assets/src
- Build our Frontend file, run
npm run build-prod (For Production) npm run build-dev (For Development)
- Once everything is setted up (make sure mongodb is running), run
npm start
To upload csv file, you can check the fields required from the sample places.csv file available in the repo.