{"id":27969164,"url":"https://github.com/future-architect/apidoor","last_synced_at":"2025-05-07T21:08:46.288Z","repository":{"id":42691364,"uuid":"400474301","full_name":"future-architect/apidoor","owner":"future-architect","description":"apidoor is a framework that can be used to build a WebAPI platform","archived":false,"fork":false,"pushed_at":"2022-03-28T10:11:43.000Z","size":853,"stargazers_count":3,"open_issues_count":28,"forks_count":2,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-05-07T21:08:41.392Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/future-architect.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":"2021-08-27T10:36:58.000Z","updated_at":"2023-06-03T20:26:08.000Z","dependencies_parsed_at":"2022-08-30T12:50:51.373Z","dependency_job_id":null,"html_url":"https://github.com/future-architect/apidoor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fapidoor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fapidoor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fapidoor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fapidoor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/future-architect","download_url":"https://codeload.github.com/future-architect/apidoor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954409,"owners_count":21830905,"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":"2025-05-07T21:08:45.742Z","updated_at":"2025-05-07T21:08:46.276Z","avatar_url":"https://github.com/future-architect.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](docs/apidoor_logo.png)\n\n# apidoor\n\napidoor is an OSS product that accelerates the construction of the API market.\n\n[日本語](README_ja.md)\n\n**🚧This project is Work in Progress🚧**\n\n## What is apidoor for\nYou can use apidoor when\n\n* you want to open APIs for many users and have trouble to publish a list of API and an access token.\n\n## Features\n\n* [x] Routing and access management of WebAPI\n* [ ] Auto publish of an API access token\n* [ ] Management of products\n* [ ] Check the usage situation of APIs\n\n## Getting Started\n\nPrerequisites:\n\n- docker v20.10^\n- docker-compose v1.29^\n\nFlow：\n\n```bash\n# Clone me\ngit clone https://github.com/future-architect/apidoor.git\ncd apidoor\n\n# Build all services\ndocker compose build \\\n  --build-arg http_proxy=${YOUR_PROXY} \\\n  --build-arg https_proxy=${YOUR_PROXY} \\\n  --build-arg proxy=${YOUR_PROXY} \\\n  --build-arg https-proxy=${YOUR_PROXY}\n\n# Launch apidoor services\ndocker compose up -d\n\n# Set your first API routing through management-api, and check apidoor works\n# Case 1: original api\ncurl -X POST -H \"Content-Type: application/json\" \\\n-d '{\"api_key\": \"key\", \"path\": \"test\", \"forward_url\": \"http://test-server:3333/welcome\"}' localhost:3001/mgmt/routing\n\ncurl -H \"Content-Type: application/json\" -H \"X-Apidoor-Authorization:key\" localhost:3000/test\n# welcome to apidoor!\n\n# Case 2: external api using https scheme with query parameter\ncurl -X POST -H \"Content-Type: application/json\" \\\n-d '{\"api_key\": \"key\", \"path\": \"github/search\", \"forward_url\": \"https://api.github.com/search/repositories\"}'\\\nlocalhost:3001/mgmt/routing\n\ncurl -H \"Content-Type: application/json\" -H \"X-Apidoor-Authorization:key\" localhost:3000/github/search?q=apidoor\n# \u003csearch result\u003e\n\n# Case 3: external api with access token\n# You must generate your GitHub's access token allowing to access repo:status in advance\ncurl -X POST -H \"Content-Type: application/json\" \\\n-d '{\"api_key\": \"key\", \"path\": \"github/user/repos\", \"forward_url\": \"https://api.github.com/user/repos\"}' \\\nlocalhost:3001/mgmt/routing\n\ncurl -H \"Content-Type: application/json\" -H \"X-Apidoor-Authorization:key\" \\\n-H \"Authorization: token \u003cyour GitHub's access token\u003e\" localhost:3000/github/user/repos\n# \u003cyour repositories' status\u003e\n\n# Check log file is provided\ncat ./log/log.csv\n\n# You can also access Management Console\nlocalhost:8080\n```\n\n## Architecture\n\nTODO\n\n# License\nApache 2\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuture-architect%2Fapidoor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuture-architect%2Fapidoor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuture-architect%2Fapidoor/lists"}