{"id":16633653,"url":"https://github.com/bineeshb/node-restapi-versioning","last_synced_at":"2026-04-13T15:33:39.996Z","repository":{"id":88453635,"uuid":"311032985","full_name":"bineeshb/node-restapi-versioning","owner":"bineeshb","description":"REST API multiple versions using Node.js, Express and TypeScript","archived":false,"fork":false,"pushed_at":"2020-11-08T10:15:55.000Z","size":350,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T22:43:06.774Z","etag":null,"topics":["expressjs","morgan-middleware","nodejs","rest-api","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/bineeshb.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-11-08T10:04:15.000Z","updated_at":"2020-11-08T10:17:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"88e02f35-0381-4743-9399-e9bba0421a27","html_url":"https://github.com/bineeshb/node-restapi-versioning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bineeshb/node-restapi-versioning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bineeshb%2Fnode-restapi-versioning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bineeshb%2Fnode-restapi-versioning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bineeshb%2Fnode-restapi-versioning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bineeshb%2Fnode-restapi-versioning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bineeshb","download_url":"https://codeload.github.com/bineeshb/node-restapi-versioning/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bineeshb%2Fnode-restapi-versioning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["expressjs","morgan-middleware","nodejs","rest-api","typescript"],"created_at":"2024-10-12T05:24:41.534Z","updated_at":"2026-04-13T15:33:39.970Z","avatar_url":"https://github.com/bineeshb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js REST API versioning\nREST API multiple versions using Node.js, Express and TypeScript\n\n### Get Started\nRequires Node 10+\n\n1. `npm i` - Install dependencies\n2. Start server\n    - `npm run dev` - Start server in development mode\n    - `npm run start` - Start server in production mode\n3. Server runs in `http://localhost:3000`\n\n### API Endpoints\n| Endpoints | Methods |\n| --- | --- |\n| `/api/v1/parse` | POST |\n| `/api/v2/parse` | POST |\n\n### Sample Request \u0026 Response\n#### Request\n```json\n// HTTP Method: POST\n{ \n  \"data\": \"JOHN0000MICHAEL0009994567\"\n}\n```\n\n#### Response\n- from /api/v1/parse\n```json\n{\n  \"statusCode\": 200,\n  \"data\": {\n    \"firstName\": \"JOHN0000\",\n    \"lastName\": \"MICHAEL000\",\n    \"clientId\": \"9994567\"\n  }\n}\n```\n\n- from /api/v2/parse\n```json\n{\n  \"statusCode\": 200,\n  \"data\": {\n    \"firstName\": \"JOHN\",\n    \"lastName\": \"MICHAEL\",\n    \"clientId\": \"999-4567\"\n  }\n}\n```\n\nNote: Test screenshots in folder `/screenshots`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbineeshb%2Fnode-restapi-versioning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbineeshb%2Fnode-restapi-versioning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbineeshb%2Fnode-restapi-versioning/lists"}