Skip to content

SWS-5007/Travel-Advisor_React.js

Repository files navigation

Travel Advisor - React JS Travel Companion App

Travel Companion App with React JS

Ask Me Anything ! GitHub license Maintenance GitHub branches Github commits Website GitHub issues

⚠️ 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 👍

📃 Built with

Rapid API Built with Love

🔧 Stats

Stats for this App

🙌🏼 Contribute

You might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines.

Buy Me a Coffee 🍺

🚀 Follow Me

GitHub followers Twitter YouTube

⭐ Give A Star

You can also give this repository a star to show more people and they can use this repository.

About

A React JS Travel Companion App using Rapid API.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published