Hosted Website : https://travelbytes.vercel.app/?vercelToolbarCode=VYKdiIKmDok7Dxc
An interactive web application to search, explore, and learn about top tourist destinations using React!
This project provides users with a seamless experience to: -in this project we wanted to organise travel blogs and reviews by local people that helps us discover the unseen places, localities,food joints etc which you may other miss . -we wanted to organise the reviews and blogs by the region so when you search a particular region you find all travel blogs regarding that region.
-
Search Functionality:
- A responsive search bar with a dropdown for place recommendations.
- Filters and shows matching results as you type.
-
Dynamic Place Details:
- Displays detailed information (name, description, image, location) for selected places.
- Auto-updates place details when new places are searched.
-
Excel-Based Data Loading:
- Reads place data from an Excel file (
tourist.xlsx), including attributes like name, description, image, and more.
- Reads place data from an Excel file (
-
Responsive Design:
- Built with Bootstrap for mobile-first responsiveness and clean UI.
This project leverages the following technologies and libraries:
-
Frontend:
- React.js: Component-based UI library for building user interfaces.
- Bootstrap 5: For styling and layout, ensuring responsive design.
-
Utilities:
- readExcel: For reading Excel files and converting them into JSON data.
- react-icons: Icons for improving UI/UX.
Follow these steps to get the project up and running on your local machine:
bash git clone https://github.com/your-username/tourist-place-explorer.git cd tourist-place-explorer 2. Install Dependencies Make sure you have Node.js installed, then run:
bash Copy code npm install 3. Start the Application To start the app locally on localhost:3000, use:
Copy code
npm start
4. Add the Excel File
Place your tourist.xlsx file containing place data in the public folder or wherever specified in your code.
📂 Project Structure
Here's a quick breakdown of the major files and directories in the project:
plaintext
📦 my-react-tourist-app
├── 📁 public
│ └── _paper-plane.png # Image used in the Navbar (icon or logo)
| └── 📄 tourist.xlsx
├── 📁 src
│ ├── 📁 components # Holds the UI components of the project
│ │ ├── 📄 _Cs.js # Carousel component
│ │ ├── 📄 _Cs.css # Styling for the Carousel component
│ │ ├── 📄 _Footer.js # Footer component
│ │ ├── 📄 _Footer.css # Styling for the Footer component
│ │ ├── 📄 _Navbar.js # Navbar component
│ │ ├── 📄 _Navbar.css # Styling for the Navbar component
│ │ ├── 📄 _PlaceDetails.js # Component to show details about the selected place
│ │ ├── 📄 _PlaceDetails.css # Styling for the PlaceDetails component
│ │ ├── 📄 _SearchBar.js # Search bar component to filter places
│ │ ├── 📄 _SearchBar.css # Styling for the SearchBar component
│ │ ├── 📄 _readExcel.js # Utility to read and parse data from an Excel file
│ ├── 📁 assets # Contains static assets like images and icons
│ │ └── _paper-plane.png # Image used in the Navbar
│ ├── 📄 App.js # Main component, integrates other components
│ ├── 📄 App.css # General styling for the app
│ └── 📄 index.js # Entry point of the application
├── 📄 package.json # Project metadata and dependencies
├── 📄 README.md # Documentation of the project (this file)
# Excel data used to feed place information into the app
Search for a Place:
Start typing in the search bar to get a list of matching places from the Excel dataset. Click on any place in the dropdown to view detailed information. View Place Details:
After selecting a place, view its name, description, image, and other related details on the same page. Responsive and Accessible:
The interface is responsive and accessible across devices with smooth transitions and clean layouts. 🛠 Key Components SearchBar: Handles user input and displays filtered places in real-time from the Excel dataset. PlaceDetails: Shows detailed information (place name, description, image, etc.) when a place is selected. readExcel Utility: Reads and converts the Excel file into a usable format for rendering place details. 🔍 Search Example plaintext Copy code Search for 'Paris' to explore the Eiffel Tower, its location, and other details! 🎉 Demo 🚀 Check out the live demo of the project at: Live Demo Link
👨💻 Contributing Feel free to submit a Pull Request for any bug fixes or improvements. To contribute:
Fork the repository. Create a new branch (feature/my-new-feature). Commit your changes. Push the branch. Create a Pull Request. 📧 Contact Developer: Aman 📜 License This project is licensed under the MIT License. See the LICENSE file for details.
Built with 💙 by Anan for travelers who love to explore!