MyTripzy is an application that helps users plan their trips by providing optimal routes, clustering places based on user input, and displaying interactive maps with location details.
- Dynamic Place Search: Search and add places to visit using the Nominatim API.
- Optimal Route Generation: Utilize the TSP DP algorithm to generate the best travel route.
- Clustering: Cluster places and generate an itinerary based on the number of days and travel distance.
- Interactive Maps: Display maps and routes using Leaflet and OpenStreetMap API.
- Distance Calculation: Compute distances between locations using the Haversine function.
Frontend:
- React
- Leaflet
Backend:
- Node.js
Algorithms and Functions:
- TSP DP Algorithm
- Clustering Algorithm
- Haversine Function
APIs:
- OpenStreetMap API
- Nominatim API
-
Clone the repository:
git clone https://github.com/AryaV14/MyTripzy.git cd MyTripzy
-
Install dependencies:
npm install
-
Install Dependencies:
npm i
-
Start the development server:
npm start
- Open your browser and navigate to
http://localhost:3000
. - Search for places and add them to your itinerary.
- Specify the number of days and maximum travel distance per day.
- View the optimal route and clustered itinerary on the interactive map.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.