Path Explorer – Google Maps Travel Companion using React.js
Geolocation, Google Maps API & Google Places API, fetching API data based on the location, data filtering
The code in the repository, if being used, needs to be modified such that Weather API keys are added in the index.js file under api folder, and the Google Maps API keys are added under the index.html file under public folder. Also, Travel Advisor API keys will be required.
Resources that I used:
- API Service by https://openweathermap.org/ to fetch Weather Data, I was able to fetch the weather data, but was unable to populate the weather icons on the webpage.
- API Service by RapidAPI – Travel Advisor API https://rapidapi.com/apidojo/api/travel-advisor/
- API Service by Google Maps https://console.cloud.google.com/
- Places API
- www.snazzymaps.com to change the map skin/theme
- www.netlify.com to deploy the application
- Advanced React Best Practices, such as folder & file structure, hooks, and refs
- Creating a User Interface using Material UI
- Working with Google Maps API
- fetching data from unlimited sources using RapidAPI
Screenshots & Demo
Search different places all over Earth:
Deployed the application on netlify hosting service: https://path-explorer-bamba.netlify.app/ [might disable/change link later due to limited API requests]
- npm run build
- Copy/Upload the build folder onto the netlify website.
Getting Started with Create React App
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes. You may also see any lint errors in the console.
npm run build
Builds the app for production to the
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
See the section about deployment for more information.
References and Sources