A modern solution for automated metro management | MERN Stack
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.
- π 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
Frontend: React, Bootstrap
Backend: Node.js, Express
Database: MongoDB
Tools: Postman, Git, VS Code
- Clone Repository
git clone https://github.com/juni2003/Metro-Ticketing-System-Project.git- Install Dependencies
cd client && npm install
cd ../server && npm install- 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- Run Application
# Start backend
cd server && npm start
# Start frontend
cd ../client && npm startKey Collections:
| Users | Tickets | Routes |
|---|---|---|
| - username | - user_id | - route_id |
| - route_id | - stations | |
| - password (hash) | - purchase_time | - price |
| - ticket_history | - valid_until | - active_status |
- π³ Integrated payment gateway
- π± Progressive Web App (PWA) support
- π Real-time metro tracking
- π AI-driven demand prediction
- Fork the repository
- Create a feature branch
git checkout -b feature/your-idea- Commit changes
git commit -m "Add your feature"- Push and open a Pull Request
If this project helps you, consider giving it a star! β