Skip to content

juni2003/Metro-Ticketing-System-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš‡ Metro Ticketing System

A modern solution for automated metro management | MERN Stack

MongoDB Express.js React NodeJS

πŸ“– Overview

A full-stack web application designed to digitize metro operations, featuring ticket management, route planning, and user complaint resolution. Built to streamline public transportation services in urban areas.

✨ Key Features

  • πŸ” User Authentication
    • Secure registration/login with encrypted credentials
    • Session management
  • 🎫 Smart Ticketing
    • Purchase digital tickets with validity periods
    • View ticket history
    • QR-based validation system (planned upgrade)
  • πŸ—ΊοΈ Route Management
    • Fixed pricing per route
    • Interactive metro map display
  • πŸ“’ Complaint Portal
    • Submit service-related complaints
    • Track complaint resolution status
  • πŸ“Š Admin Dashboard
    • Manage routes/pricing
    • Analyze user traffic

πŸ› οΈ Tech Stack

Frontend: React, Bootstrap
Backend: Node.js, Express
Database: MongoDB
Tools: Postman, Git, VS Code

βš™οΈ Installation

  1. Clone Repository
git clone https://github.com/juni2003/Metro-Ticketing-System-Project.git
  1. Install Dependencies
cd client && npm install
cd ../server && npm install
  1. Configure Environment
  • Create .env files with these variables:
  • Server
MONGO_URI = your_mongodb_connection_string 
JWT_SECRET = your_jwt_secret
PORT = 5000
# Replace `your_mongodb_connection_string` and `your_jwt_secret` with actual values  
  • Client
REACT_APP_API_URL = http://localhost:5000
  1. Run Application
# Start backend
cd server && npm start

# Start frontend
cd ../client && npm start

πŸ“„ Database Schema

Key Collections:

Users Tickets Routes
- username - user_id - route_id
- email - route_id - stations
- password (hash) - purchase_time - price
- ticket_history - valid_until - active_status

🌟 Future Enhancements

  • πŸ’³ Integrated payment gateway
  • πŸ“± Progressive Web App (PWA) support
  • 🚌 Real-time metro tracking
  • πŸ“ˆ AI-driven demand prediction

🀝 Contribute

  1. Fork the repository
  2. Create a feature branch
git checkout -b feature/your-idea
  1. Commit changes
git commit -m "Add your feature"
  1. Push and open a Pull Request

🌟 Support the Project

If this project helps you, consider giving it a star! ⭐

About

πŸš‡ Metro Ticketing System - A DBMS project for managing metro operations (ticketing, routes, complaints) using Node.js, MongoDB & React. Designed for efficient public transport automation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors