{"id":19074404,"url":"https://github.com/maia14/bp-backend","last_synced_at":"2026-05-01T06:31:30.117Z","repository":{"id":121021279,"uuid":"318784953","full_name":"MaiA14/bp-backend","owner":"MaiA14","description":"A Non Blocking Producer/Consumer stream processing service. Backend is developed in Node.js, express and child process.","archived":false,"fork":false,"pushed_at":"2020-12-07T09:26:54.000Z","size":861,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T22:26:53.612Z","etag":null,"topics":["backend","hashmap","javascript","nodejs","rest-api","stream"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/MaiA14.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":"2020-12-05T12:38:46.000Z","updated_at":"2020-12-07T11:33:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d99ba61-1f4f-459d-b2fe-7afbdfb201c8","html_url":"https://github.com/MaiA14/bp-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MaiA14/bp-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaiA14%2Fbp-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaiA14%2Fbp-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaiA14%2Fbp-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaiA14%2Fbp-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaiA14","download_url":"https://codeload.github.com/MaiA14/bp-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaiA14%2Fbp-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["backend","hashmap","javascript","nodejs","rest-api","stream"],"created_at":"2024-11-09T01:50:51.573Z","updated_at":"2026-05-01T06:31:30.095Z","avatar_url":"https://github.com/MaiA14.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bp-backend\n\nYour exercise is to implement a Non Blocking Producer/Consumer stream processing service.\n\nYou are provided with a blackbox executable that spits out an infinite stream of lines of event data encoded in JSON. You can download it here:\n* Linux - https://s3-us-west-1.amazonaws.com/bp-interview-artifacts/generator-linux-amd64\n* Mac OS X - https://s3-us-west-1.amazonaws.com/bp-interview-artifacts/generator-macosx-amd64\n* Windows - https://s3-us-west-1.amazonaws.com/bp-interview-artifacts/generator-windows-amd64.exe\n\n**Service Requirements:**\\\nIt should consume the output of the generator and gather the following stats:\\\nA count of events by event type.\\\nA count of words encountered in the data field of the events. (e.g. “the” → 32, “me” → 5)\\\nBonus: support the ability to receive the stats above in the last 60 seconds.\\\nIt should expose these stats in an HTTP interface.\\\nStream may encounter corrupt JSON lines and should handle these.\n\n**Important Notes:**\\\nWe are looking for simple readable code which is not over-engineered.\\\nThe architecture of your service should obviously decouple the data processing, HTTP handling, be testable, etc.\\\nYou can implement this exercise in any high level language you choose (Java, Scala, C#, python, Node.JS etc.). Please let us know in advance which language you choose.\n\n## Installation\n\nBefore running this project install node modules with this command:\n\n```\nnpm install or npm i\n```\n\n## Run project:\n```\nnode server or nodemon server\n```\n\n## Run tests: \n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaia14%2Fbp-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaia14%2Fbp-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaia14%2Fbp-backend/lists"}