A ReactJS TripAdvisor Clone Web App made with the RapidAPI's TravelAdvisor API and Google Maps API
Run the Command to Install all dependencies.
npm install
Create API Credentials/Keys from the following Providers
- Google Maps "Enabling the Specific Services: Maps Javascript API & Places API"
- Travel Advisor (Rapid API)
Create a .env
file in your root directory, create the variables as seen below filling in your API Keys appropriately
VITE_TRAVEL_API_KEY=TRAVEL-ADVISOR-APIKEY-HERE
VITE_GOOGLE_MAP_API_KEY=GOOGLE-MAP-APIKEY-HERE
Locate and Append the Google Map API Key onto the Script Tag in the index.html
file as seen below
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places&key=GOOGLE-MAP-APIKEY-HERE"></script>
Now run the command to start the development server.
npm run dev
Your project should start running on http://localhost:3000
👤 Olabode Lawal-Shittabey
- Twitter: @babblebey
- LinkedIn: @babblebey
- Instagram: @babblebey
Give a ⭐️ if this project helped you!