Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bhavya1352/eventmappr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ—Ί EventMappr

EventMappr is a lightweight, open-source community event mapping web app. Users can discover, add, and explore local events pinned on an interactive map. Interactive, frontend web app for discovering and cataloging community events on a map.

License: MIT GitHub stars GitHub forks Open Issues Contributors

πŸš€ Live Demo [πŸ” Back to Top](#-eventmappr)


πŸ“‘ Table of Contents
[πŸ” Back to Top](#-eventmappr)

πŸš€ Features

  • πŸ—ΊοΈ Add events to map – Click anywhere to drop a pin and add title, category, date/time, and organizer info
  • 🧭 Find Nearby – Centers the map on your current location using the Geolocation API
  • πŸŽ›οΈ Filter events – Narrow down events by category (🎡 Music, πŸ’» Tech, 🀝 Volunteering, πŸ›οΈ Market, 🎨 Art)
  • πŸ’Ύ Persistent storage – Uses localStorage so your events remain across browser sessions
  • πŸ“± Interactive UI – Responsive layout with popups, animations, and dynamic filtering
  • πŸ“„ NEW: Detailed event pages - Click on any marker to view comprehensive event information
  • πŸ’Ύ NEW: Persistent storage - Events are saved locally and persist across sessions
  • πŸ—ΊοΈ NEW: Mini maps - Each event page includes a map showing the exact location
  • ☁️ NEW: Weather Planner - Users can check 5-day weather forecasts for any city to help plan suitable dates for events
  • πŸ“Έ NEW: Event Gallery - A dedicated page displaying user-shared images from past events, fostering community engagement
  • πŸ”„ NEW: Modular Routing - Enhanced navigation with react-router-dom for better user experience
  • πŸ” Back to Top

πŸ“± How to Use

  1. View Events: Open the app to see events marked on the map
  2. Click Markers: Click on any event marker to view detailed information
  3. Add Events: Fill out the form and click on the map to add new events
  4. Find Nearby: Use the "Find Nearby" button to locate events close to you
  5. View Details: Each event has a dedicated page with:
    • Event description and details
    • Location information with coordinates
    • Mini map showing exact location
    • Organizer and contact information
    • Date and time details
    • πŸ” Back to Top

πŸ› οΈ Tech Stack

  • Next.js - React framework for production-grade applications
  • React - Modern UI library for component-based architecture
  • React Router DOM - Declarative routing for React applications
  • React Leaflet - React components for Leaflet maps
  • HTML5 & CSS3 – Semantic markup and responsive design
  • Leaflet.js – Open-source mapping library
  • OpenStreetMap – Free map tile provider
  • localStorage – Lightweight, in-browser persistence
  • πŸ” Back to Top

πŸš€ Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

Installation

  1. Clone the repository
git clone https://github.com/yourusername/eventmappr.git
cd eventmappr
  1. Install dependencies
npm install

Development

To start the development server:

npm run dev

The application will open in your default browser at http://localhost:3000.

Building for Production

To create a production build:

npm run build

To start the production server:

npm start

πŸ“œ Available Scripts

  • npm run dev - Starts the development server on port 3000
  • npm run build - Creates a production build
  • npm start - Starts the production server
  • npm run lint - Runs ESLint to check code quality
  • npm run clean - Cleans build artifacts πŸ” Back to Top

πŸ“ Project Structure Overview

β”œβ”€β”€ components/          # React components
β”‚   β”œβ”€β”€ layout/          # Layout components (Navbar, etc.)
β”‚   β”œβ”€β”€ sections/        # Page section components
β”‚   └── ui/              # Reusable UI components
β”œβ”€β”€ pages/               # Next.js pages
β”‚   β”œβ”€β”€ _app.js          # Custom App component
β”‚   β”œβ”€β”€ _document.js     # Custom Document component
β”‚   β”œβ”€β”€ index.js         # Home page
β”‚   β”œβ”€β”€ explore.js       # Explore page
β”‚   └── auth.js          # Authentication page
β”œβ”€β”€ public/              # Static assets
β”‚   └── images/          # Image assets
β”œβ”€β”€ styles/              # CSS files
β”œβ”€β”€ utils/               # Utility functions
β”‚   └── router.js        # React Router DOM integration utilities
β”œβ”€β”€ next.config.js       # Next.js configuration
└── package.json         # Project dependencies and scripts

πŸ“Œ Usage Guide

  1. View events β€” Load the app to see all events pinned on the map

  2. Add event β€” Click on map, fill in the form (title, category, datetime, contact), and hit Save

  3. Filter β€” Select categories via checkboxes to hide/show specific events

  4. Find nearby β€” Click "πŸ“ Find Nearby" to center map at your current position

  5. View details β€” Click any marker to view full event information πŸ” Back to Top


πŸ§‘β€πŸ’» Contributing

We welcome contributions to improve EventMappr!

πŸ“Œ How to Contribute

  1. Fork this repository
  2. Clone your forked repo:
    git clone https://github.com/your-username/EventMappr.git
  3. Create a new branch:
    git checkout -b feature/your-feature-name
  4. Make your changes and commit:
    git commit -m "Add your message here"
  5. Push to your fork and submit a Pull Request:
    git push origin feature/your-feature-name

πŸ“‹ Contribution Guidelines

  • Keep PRs focused and concise
  • Use consistent code formatting
  • Test features before submitting
  • Be respectful and collaborative in reviews πŸ” Back to Top

πŸ’‘ Feature Ideas & Roadmap

  • βœ… Local persistent storage
  • βœ… Event detail pages
  • βœ… Event time/date input
  • βœ… React component architecture
  • βœ… Next.js migration
  • βœ… React Router integration
  • πŸ”œ Map marker clustering
  • πŸ”œ Dark mode toggle
  • πŸ”œ Search bar for event titles/descriptions
  • πŸ”œ Shareable event links
  • πŸ”œ User authentication (e.g., via Firebase)
  • πŸ”œ Category tags and filtering UX improvements πŸ” Back to Top

πŸ™Œ Acknowledgements


🌟 Awesome Contributors


πŸ“„ License

Released under the MIT License.


Built with ❀️ by Bhavya1352 and the open-source community.

πŸ” Back to Top


About

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 70