The Digital Outpass System is a MERN stack-based web application that automates outpass requests in educational institutions. It streamlines the process for students, teachers, and security personnel, ensuring secure and efficient approvals with QR-based verification.
- Login/Register as a student.
- Apply for an outpass request with reason and timing.
- Check application status (Pending, Approved, Rejected).
- Receive a QR code upon approval, containing a unique key for verification at the security checkpoint.
- Login as a teacher.
- View all pending requests from students.
- Approve or Reject outpass requests.
- Login as security personnel.
- Scan the QR code provided by the student.
- Verify the key to allow or deny exit.
- Frontend: React.js, React Router, Material-UI (MUI)
- Backend: Node.js, Express.js
- Database: MongoDB
- Libraries: Axios, QRCode.react, Mongoose
- Authentication: JSON Web Token (JWT)
-
Clone the repository:
git clone https://github.com/Sanju310104/Digital-Outpass-for-University.git cd DigitalOutpass
-
Install dependencies:
npm install
-
Start the backend server:
cd server npm start
-
Start the frontend:
cd client npm run dev
-
Open the app in your browser at
http://localhost:5173
.
POST /api/students/login
- Student loginPOST /api/students/apply-outpass
- Apply for an outpassGET /api/students/status/:id
- Check request status
POST /api/teachers/login
- Teacher loginGET /api/teachers/requests
- View all requestsPUT /api/teachers/approve/:id
- Approve an outpassPUT /api/teachers/reject/:id
- Reject an outpass
POST /api/security/login
- Security loginPOST /api/security/verify
- Scan QR and verify key
- Email/SMS Notifications for status updates.
- Mobile App Integration for better accessibility.