Skip to content

babblebey/travelAdvisor

Repository files navigation

Welcome to travelAdvisor 👋

travelAdvisor Screenshot

A ReactJS TripAdvisor Clone Web App made with the RapidAPI's TravelAdvisor API and Google Maps API

Version Twitter: babblebey

Install

Run the Command to Install all dependencies.

npm install

Usage

Create API Credentials/Keys from the following Providers

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

Author

👤 Olabode Lawal-Shittabey

Show your support

Give a ⭐️ if this project helped you!