{"id":14956941,"url":"https://github.com/rorycombe/anyapi","last_synced_at":"2025-10-24T10:31:10.564Z","repository":{"id":39593249,"uuid":"119581882","full_name":"RoryCombe/anyapi","owner":"RoryCombe","description":"A simple, zero config RESTful api that takes whatever you want to throw at it","archived":false,"fork":false,"pushed_at":"2023-01-24T07:25:34.000Z","size":5031,"stargazers_count":3,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T14:21:32.487Z","etag":null,"topics":["mongodb-database","restify","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RoryCombe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-30T19:11:41.000Z","updated_at":"2022-05-31T10:25:52.000Z","dependencies_parsed_at":"2023-02-13T19:02:27.259Z","dependency_job_id":null,"html_url":"https://github.com/RoryCombe/anyapi","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryCombe%2Fanyapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryCombe%2Fanyapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryCombe%2Fanyapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryCombe%2Fanyapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoryCombe","download_url":"https://codeload.github.com/RoryCombe/anyapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237950925,"owners_count":19392667,"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":["mongodb-database","restify","typescript"],"created_at":"2024-09-24T13:13:46.122Z","updated_at":"2025-10-24T10:31:10.154Z","avatar_url":"https://github.com/RoryCombe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eany API 🤖\u003c/h1\u003e\n  \u003cp\u003eA simple, zero config RESTful api that takes whatever you want to throw at it\u003c/p\u003e\n\u003c/div\u003e\n\n---\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rorycombe/anyapi/validate?logo=github\u0026style=flat-square)\n[![codecov](https://codecov.io/gh/RoryCombe/anyapi/branch/master/graph/badge.svg?token=S462N7D27B)](https://codecov.io/gh/RoryCombe/anyapi)\n\n## Getting Started\n\n```\nnpx @anyapi/anyapi\n```\n\nor\n\n```\nnpm i @anyapi/anyapi -g\nanyapi\n```\n\nThis will start the server on the default port of `2000`. Using any HTTP client you can now `GET`, `POST`, `PUT`, `DELETE` with a collection type that is completely variable and up to you.\n\nFor example `hamburgers`:\n\n```\nfetch('http://localhost:2000/hamburgers', {\n  method: 'POST',\n  body: JSON.stringify({ name: 'Cheese Burger', ingredients: ['beef', 'tomato', 'lettuce', 'cheese'] }),\n  headers: new Headers({'Content-Type': 'application/json'})\n})\n```\n\nThen GET on `http://localhost:2000/hamburgers` to see your new collection\n\n## Methods\n\n- `GETALL` on `:collection`\n- `GET` on `:collection` with `:id`\n- `CREATE` on `:collection` with `:data`\n- `UPDATE` on `:collection` with `:id` and `:data`\n- `DESTROY` on `:collection` with `:id`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frorycombe%2Fanyapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frorycombe%2Fanyapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frorycombe%2Fanyapi/lists"}