The Request Queue System is a web-based application built using HTML, CSS, and JavaScript. It manages requests using the Queue (FIFO - First In First Out) data structure and allows users to add, process, and cancel requests while tracking their status.
- Add new requests
- Process requests in FIFO order
- Cancel requests
- View request status
- Display queue statistics
- Dynamic user interface
- HTML
- CSS
- JavaScript
- Git
- GitHub
request-queue-system/
├── index.html
├── style.css
├── queue.js
└── app.js
Adds a new request to the queue with a "Pending" status.
Processes the first pending request and changes its status to "Processed".
Cancels a request based on its ID.
Returns:
- Total Requests
- Pending Requests
- Processed Requests
- Cancelled Requests
-
Clone the repository: git clone https://github.com/thripurarirajesh/request-queue-system.git
-
Open the project folder in VS Code.
-
Open index.html using Live Server.
-
Add requests and manage them through the interface.
- User enters a request.
- Request is added to the queue.
- Requests are displayed in a table.
- User can process or cancel requests.
- Statistics update automatically.
- Add Request → Pending
- Process Request → Processed
- Cancel Request → Cancelled
- Request priority levels
- Search functionality
- Local storage support
- User authentication
- Request timestamps
Input: Login Request
Expected Result:
- Request added successfully
- Status = Pending
Input: Empty Request
Expected Result:
- Alert message displayed
Action: Click Process Next
Expected Result:
- First pending request becomes Processed
Action: Click Cancel
Expected Result:
- Request status becomes Cancelled
Thripurari Rajesh