{"id":21441628,"url":"https://github.com/ynathan/queue-handler","last_synced_at":"2025-03-17T00:42:54.787Z","repository":{"id":241576886,"uuid":"807080218","full_name":"YNathan/queue-handler","owner":"YNathan","description":"Queue handler","archived":false,"fork":false,"pushed_at":"2024-05-28T13:29:35.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T10:33:50.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YNathan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-28T12:53:52.000Z","updated_at":"2024-05-28T13:29:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"edef9582-8d02-433c-b5cd-a424ac13a458","html_url":"https://github.com/YNathan/queue-handler","commit_stats":null,"previous_names":["ynathan/queue-handler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YNathan%2Fqueue-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YNathan%2Fqueue-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YNathan%2Fqueue-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YNathan%2Fqueue-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YNathan","download_url":"https://codeload.github.com/YNathan/queue-handler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955720,"owners_count":20374372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T01:39:22.355Z","updated_at":"2025-03-17T00:42:54.781Z","avatar_url":"https://github.com/YNathan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Queue Management API\n\nThis project implements a REST API for managing queues of messages using Node.js and Express. The API supports adding messages to queues and retrieving the next message from a queue with an optional timeout.\n\n## Features\n\n- **Add Message to Queue**: POST a message to a specified queue.\n- **Get Next Message from Queue**: GET the next message from a specified queue, with support for a timeout if the queue is empty.\n\n\n\n## Testing Approach\nThe tests are written in a way that ensures the server is running concurrently with the test script. We use the concurrently package to handle this.\n\n##  Example Test Workflow\nStart the Server: The server is started using npm run start.\nRun the Test Script: The test script waits for the server to be up and running, then performs the tests by sending requests to the server.\n## Test Scenarios:\nAdding a message to the queue.\nFetching the next message from the queue with a timeout.\nChecking that each customer will got his relevent message","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynathan%2Fqueue-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fynathan%2Fqueue-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynathan%2Fqueue-handler/lists"}