Travel Advisor

A React JS Travel Companion App using Rapid API.

⚠️ Before you start

  1. Make sure Git and NodeJS is installed
  2. Yarn is faster than Npm. So use Yarn.
  3. Create .env.local file in root folder.
  4. Contents of .env.local
REACT_APP_GOOGLE_MAP_API_KEY="XXXXXXXXXXXXXXXXXX"
REACT_APP_RAPID_API_KEY="XXXXXXXXXXXXXXXXXXXXX"
  1. Go, to Google Cloud Developers Console and create a project.

create a project

  1. Once you created the project, make sure to select it from Header section.

select your project

  1. From Sidebar, Go to APIs & Services > Credentials > Create Credentials > API Key

create api key

  1. Now click on SHOW KEY to get your REACT_APP_GOOGLE_MAP_API_KEY.

  2. Now, to setup Travel Advisor and Weather API, go to Rapid API Website and create an account.

  3. Enable these two APIs for travel and weather data: API 1: Travel Advisor and API 2: Open Weather Map.

Copy API Key

  1. After enabling you can get your API Keys and paste them in .env.local file in REACT_APP_RAPID_API_KEY.

NOTE: Make sure you don't share these keys publicaly.

📌 How to use this App?

  1. Clone this repository to your local computer.
  2. Open terminal in root directory.
  3. Type and Run yarn install.
  4. Once packages are installed, type and run yarn start
  5. Now app is fully configured and you can start using this app :+1: