A web application that displays available flights from desired origin to destination and current weather status of destination.
Built with React.js, Aviation Stack API, and Weather Stack API, it shows the available flights from one origin to destination.
- 📍 Display available flights between to places using Aviation Stack API
- 📰 Shows the curent weather using Weather Stack API
- 🌐 Support for countries worldwide
To set up the Travel Planner App project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/apilayer/travel-planner-app.git
-
Navigate to the project directory:
cd travel-planner-app
-
Install the dependencies:
npm install
-
Create a
.env.local
file in the root directory and add your API keys:VITE_AVIATION_STACK_API_KEY=your_aviation_stack_api_key_here VITE_WEATHER_STACK_API_KEY=your_weather_stack_api_key_here
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to see the application.
- Select your desired origin and destination countries along with the departure date.
- Once your location is determined, the app will show the available flights using the Aviation Stack API.
- With the help of Weather Stack API, the app will also show the current weather status of destination country.
- React
- Aviation Stack API to fetch flights
- Weather Stack API for weather status
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
If you encounter any issues or have questions, please file an issue on the GitHub repository.