A React-based web application that helps users check weather conditions along their travel route. This project was developed entirely using GitHub Copilot as the AI pair programming assistant.
- Enter start and end destinations for your route
- Visualize your route on an interactive Google Map
- View weather conditions at various points along your journey
- Responsive design that works on both desktop and mobile devices
- React
- Google Maps API (@react-google-maps/api)
- Tailwind CSS for styling
- Weather API (integrated through weatherService)
- Clone the repository
git clone [https://github.com/ecsabanci/check-ur-route]
-
Install dependencies by running
npm install
oryarn install
-
Create a
.env
file in the root directory and add your API keys:
REACT_APP_GOOGLE_MAPS_API_KEY=your_google_maps_api_key
REACT_APP_OPENWEATHERMAP_API_KEY=your_openweathermap_api_key
- Start the development server
npm start
- Open your web browser and navigate to
http://localhost:3000
to view the application
The application combines Google Maps routing with weather data to provide users with weather information along their intended route:
- Users input their start and end destinations
- The app calculates the route using Google Maps API
- Weather data is fetched for key points along the route
- Both the route and weather information are displayed on an interactive map
- A summary of weather conditions is shown alongside the map
src/App.jsx
- Main application componentsrc/components/
RouteForm.jsx
- Handles user input for route selectionWeatherMap.jsx
- Displays the map with route and weather dataRouteWeatherSummary.jsx
- Shows weather information summary
This project was developed using Cursor as the primary coding assistant, demonstrating the capabilities of AI-powered development tools in creating functional and well-structured applications.
Contributions are welcome! Please feel free to submit a Pull Request.