AmirrMahmoudi / world-wise

World Wise is a web application that enables users to document their travels on a map and share them with others. Designed to provide a practical platform for logging travel memories and exchanging experiences among travelers.

Home Page:https://world-wise-vert.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌍 WorldWise

Vite React Leaflet

πŸ“ Overview

WorldWise is a modern web application designed to showcase interactive maps and city data using React and Leaflet. The project leverages Vite for a fast development experience and json-server for simulating a backend.

πŸš€ Features

  • ⚑ Vite for blazing fast development and build process.
  • 🌍 Leaflet and react-leaflet for interactive map functionality.
  • πŸ—‚οΈ React Router for client-side routing.
  • πŸ“… React Datepicker for date selection.

πŸ› οΈ Getting Started

πŸ“‹ Prerequisites

Make sure you have the following installed:

πŸ“¦ Installation

  1. Clone the repository:

    git clone https://github.com/AmirrMahmoudi/world-wise.git
    cd world-wise
  2. Install the dependencies:

    npm install
    # or
    yarn install

Running the Application

  • To start the development server:

    npm run dev
    # or
    yarn dev
  • To build the application for production:

    npm run build
    # or
    yarn build
  • To preview the production build:

    npm run preview
    # or
    yarn preview
  • To start the JSON server:

    npm run server
    # or
    yarn server

πŸ“š Dependencies

The following packages and dependencies are used in this project:

Main Dependencies

  • json-server: ^0.17.3
  • leaflet: ^1.9.4
  • react: ^18.2.0
  • react-datepicker: ^4.25.0
  • react-dom: ^18.2.0
  • react-leaflet: ^4.2.1
  • react-router-dom: ^6.21.1

Development Dependencies

  • @types/react: ^18.2.15
  • @types/react-dom: ^18.2.7
  • @vitejs/plugin-react: ^4.0.3
  • eslint: ^8.56.0
  • eslint-config-react-app: ^7.0.1
  • eslint-plugin-react: ^7.32.2
  • eslint-plugin-react-hooks: ^4.6.0
  • eslint-plugin-react-refresh: ^0.4.3
  • vite: ^4.4.5
  • vite-plugin-eslint: ^1.8.1

πŸ—‚οΈ Project Structure

The project structure follows a typical Vite application layout:

world-wise/
β”œβ”€β”€ public/          # Public assets (images, icons, etc.)
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/  # Reusable UI components
β”‚   β”œβ”€β”€ data/        # JSON data files
β”‚   β”œβ”€β”€ pages/       # React components for different pages
β”‚   β”œβ”€β”€ styles/      # CSS and SCSS files
β”‚   β”œβ”€β”€ App.jsx      # Main App component
β”‚   └── main.jsx     # Entry point for the React application
β”œβ”€β”€ .eslintrc.json   # ESLint configuration
β”œβ”€β”€ .gitignore       # Git ignore file
β”œβ”€β”€ package.json     # Project dependencies and scripts
β”œβ”€β”€ README.md        # Project README file

🀝 Contributing

Contributions are welcome! Please open an issue or submit a pull request for any bugs, features, or documentation improvements.

πŸ“¬ Contact

✍️ Amirhossein Mahmoudi amirhosssein.js@gmail.com

About

World Wise is a web application that enables users to document their travels on a map and share them with others. Designed to provide a practical platform for logging travel memories and exchanging experiences among travelers.

https://world-wise-vert.vercel.app


Languages

Language:JavaScript 70.8%Language:CSS 28.2%Language:HTML 1.0%