Ticket_Management_Task_Updated
Ticket_Management_Task_Updated
Objective
Develop a backend system for managing bus tickets with the ability for users to purchase
tickets for specific buses at specified time periods. The system must include authentication,
role-based management (admin and user), and ticket purchasing functionality.
The project is to be developed using Node.js, Express.js, and Mongoose, following a modular
design pattern. TypeScript is a plus.
Requirements
Core Functionalities
User Authentication:
Admin Functionalities:
- Upload, update, and delete tickets for buses with specific prices and time slots.
User Functionalities:
Additional Requirements:
Deliverables
1. ER Diagram:
- Create an entity-relationship diagram that outlines the relationships between users, buses,
and tickets.
2. API Documentation:
- Submit Postman API Documentation with all endpoints, their request/response structures,
and sample payloads.
3. Codebase:
- Upload the complete codebase to a GitHub repository and share the link.
4. Technology Stack:
Required APIs
1. Authentication APIs
2. Admin APIs
- POST /admin/ticket: Upload a new ticket for a specific bus and time.
3. User APIs
- GET /tickets: View available tickets for specific buses and time periods.
Expectations
1. Deadline: Submission by 13 December 2024, 11:59 PM.
2. Database Structure:
3. Code Quality:
4. Testing:
Evaluation Criteria
1. API Functionality:
2. Postman Documentation:
4. Database Design:
5. GitHub Repository:
Good luck!