{"id":22477389,"url":"https://github.com/atomic-state/controller-express","last_synced_at":"2025-09-18T08:57:02.139Z","repository":{"id":110078869,"uuid":"501842506","full_name":"atomic-state/controller-express","owner":"atomic-state","description":"Router wrapper for Express","archived":false,"fork":false,"pushed_at":"2022-06-09T23:52:56.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T22:46:19.241Z","etag":null,"topics":["controller","express","http","request"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/atomic-state.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-09T23:51:35.000Z","updated_at":"2022-06-15T16:15:29.000Z","dependencies_parsed_at":"2023-04-03T16:48:38.234Z","dependency_job_id":null,"html_url":"https://github.com/atomic-state/controller-express","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/atomic-state/controller-express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-state%2Fcontroller-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-state%2Fcontroller-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-state%2Fcontroller-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-state%2Fcontroller-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomic-state","download_url":"https://codeload.github.com/atomic-state/controller-express/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-state%2Fcontroller-express/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275739508,"owners_count":25519601,"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-09-18T02:00:09.552Z","response_time":77,"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":["controller","express","http","request"],"created_at":"2024-12-06T14:10:39.859Z","updated_at":"2025-09-18T08:57:02.131Z","avatar_url":"https://github.com/atomic-state.png","language":"JavaScript","readme":"Example:\r\n\r\n```js\r\nimport express from \"express\"\r\n\r\nimport { Controller } from \"controller-express\"\r\n\r\nconst AppController = Controller({\r\n    \"GET /\"(req, res) {\r\n        res.send(\"home\")\r\n    },\r\n    \"GET /user/:id\"(req, res) {\r\n        res.send({\r\n            id: req.params.id\r\n        })\r\n    },\r\n    \"POST /\"(req, res) {\r\n        res.send(\"only post allowed\")\r\n    }\r\n})\r\n\r\nconst app = express()\r\n\r\napp.use(AppController)\r\n\r\napp.start(8000)\r\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomic-state%2Fcontroller-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomic-state%2Fcontroller-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomic-state%2Fcontroller-express/lists"}