{"id":26513155,"url":"https://github.com/metalcamp/node-rest-api","last_synced_at":"2026-04-09T13:47:55.436Z","repository":{"id":40769176,"uuid":"258540438","full_name":"metalcamp/node-rest-api","owner":"metalcamp","description":"Sample REST API written in Typescript","archived":false,"fork":false,"pushed_at":"2023-01-24T02:27:22.000Z","size":2305,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T04:19:54.162Z","etag":null,"topics":["express","express-js","expressjs","jest","jest-test","nodejs","nodejs-api","rest-api","typeorm","typeorm-javascript","typescript"],"latest_commit_sha":null,"homepage":"","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/metalcamp.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}},"created_at":"2020-04-24T14:48:42.000Z","updated_at":"2021-11-14T11:40:15.000Z","dependencies_parsed_at":"2023-02-13T12:01:07.424Z","dependency_job_id":null,"html_url":"https://github.com/metalcamp/node-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/metalcamp/node-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalcamp%2Fnode-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalcamp%2Fnode-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalcamp%2Fnode-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalcamp%2Fnode-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metalcamp","download_url":"https://codeload.github.com/metalcamp/node-rest-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalcamp%2Fnode-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270614829,"owners_count":24616788,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"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":["express","express-js","expressjs","jest","jest-test","nodejs","nodejs-api","rest-api","typeorm","typeorm-javascript","typescript"],"created_at":"2025-03-21T04:19:58.845Z","updated_at":"2025-12-30T18:53:49.531Z","avatar_url":"https://github.com/metalcamp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Setup\nInstall dependencies \n```bash\nyarn install\n```\n\nStart postgres and redis\n```bash\nsudo docker-compose up -d postgres redis\n```\n\n## Run\nStart server \n```\nyarn start\n```\n\nStart RSS parser / publish RSS content to channels \n```\nyarn start-rss\n```\n\nStart publish worker / redis listener\n```\nyarn start-publish\n```\n \n## Tests\nRun all tests \n```bash\nyarn test\n```\n\nRun unit tests \n```bash\nyarn unit\n```\n\nRun integration tests \n```bash\nyarn integration\n```\n\n### TODO \n* \u003cdel\u003eimplement [winston](https://github.com/winstonjs/winston) logger\u003c/del\u003e\n* \u003cdel\u003eimplement client subscriber (client prints request body to console)\u003c/del\u003e\n* \u003cdel\u003esupport glob style pattern channel matching\u003c/del\u003e \n* \u003cdel\u003eimplement publish worker (worker publishes messages published to channel to its subscribers)\u003c/del\u003e\n* \u003cdel\u003esetup and configure jest with ts-jest\u003c/del\u003e\n* implement tests\n* refactor error mechanism\n* implement BZPOPMAX and replace redis.publish with redis.zset to avoid sending duplicate messages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetalcamp%2Fnode-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetalcamp%2Fnode-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetalcamp%2Fnode-rest-api/lists"}