8000 GitHub - MohammedHamza0631/events_app: Real Time events management platform
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MohammedHamza0631/events_app

Repository files navigation

Real-time Event Management Platform


Project Banner
nextjs mongodb react tailwindcss shadcnui

A Modern Full-Stack Event Management Platform

📋 Table of Contents

  1. 🤖 Introduction
  2. ⚙️ Tech Stack
  3. 🔋 Features
  4. 🤸 Prerequisites
  5. Environment Variables
  6. 🚀 Installation

🤖 Introduction

A modern, full-stack event management platform built with Next.js 14 and React 18, featuring real-time updates and interactive features.

⚙️ Tech Stack

  • Frontend:

    • Next.js 14
    • React 18
    • TailwindCSS
    • Shadcn UI
    • Server-Sent Events (SSE) for real-time updates
  • Backend:

    • Next.js API Routes
    • Server-Sent Events (SSE)
    • MongoDB with Mongoose
    • JWT Authentication
    • Cloudinary Integration

🔋 Key Features

  • 🔐 Advanced Authentication

    • JWT-based authentication
    • Regular user registration/login
    • Guest user access with limited permissions
    • Protected routes and API endpoints
  • 📅 Event Management

    • Create, edit, and delete events
    • Rich event details with image upload
    • Category-based organization
    • Attendee management with capacity limits
    • Real-time event updates using SSE
  • Real-time Features

    • Live updates for event changes
    • Real-time attendee list updates
    • Server-Sent Events for efficient real-time communication
    • Instant notifications
  • 🎨 Modern UI/UX

    • Responsive design
    • Dark/light mode support
    • Toast notifications
    • Loading states and animations
    • Form validation
    • Interactive date picker

🤸 Prerequisites

  • Node.js >= 18
  • MongoDB Atlas Account
  • Cloudinary Account

⚡ Environment Variables

Create a .env.local file with:

MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret

🚀 Installation

  1. Clone the repository:

    git clone <repository-url>
    cd event-management-platform
  2. Install dependencies:

    npm install --legacy-peer-deps
  3. Run the development server:

    npm run dev

User Types

  1. Regular Users

    • Full access to all features
    • Create and manage events
    • Register for events
    • Real-time updates
  2. Guest Users

    • Limited access
    • Can view events
    • Can register for events
    • Cannot create/edit events

API Routes

  • Authentication

    • `POST /api/auth/register` - Register new user
    • `POST /api/auth/login` - User login
    • `POST /api/auth/guest` - Guest login
  • Events

    • `GET /api/events` - List events with filters
    • `POST /api/events` - Create event
    • `GET /api/events/[id]` - Get event details
    • `PUT /api/events/[id]` - Update event
    • `DELETE /api/events/[id]` - Delete event
    • `POST /api/events/[id]/attend` - Register/unregister attendance

About

Real Time events management platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0