{"id":24293793,"url":"https://github.com/rkosegi/db2rest-bridge","last_synced_at":"2025-03-06T06:15:39.123Z","repository":{"id":258016460,"uuid":"866927294","full_name":"rkosegi/db2rest-bridge","owner":"rkosegi","description":"Database to REST API bridge","archived":false,"fork":false,"pushed_at":"2024-10-29T10:36:22.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T12:33:48.149Z","etag":null,"topics":["crud-api","openapi3","rest-api"],"latest_commit_sha":null,"homepage":"","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/rkosegi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-10-03T06:17:36.000Z","updated_at":"2024-10-29T10:37:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"4987996e-a1af-4a60-b330-32445b5095a0","html_url":"https://github.com/rkosegi/db2rest-bridge","commit_stats":null,"previous_names":["rkosegi/db2rest-bridge"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkosegi%2Fdb2rest-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkosegi%2Fdb2rest-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkosegi%2Fdb2rest-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkosegi%2Fdb2rest-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkosegi","download_url":"https://codeload.github.com/rkosegi/db2rest-bridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157277,"owners_count":20081041,"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":["crud-api","openapi3","rest-api"],"created_at":"2025-01-16T17:00:37.950Z","updated_at":"2025-03-06T06:15:39.088Z","avatar_url":"https://github.com/rkosegi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Database to REST API bridge\n\nThis project aims to provide generic REST API to perform simple CRUD operations against database backend.\nCurrently only MySQL/MariaDB backend is supported.\n\n### Example config\n\n```yaml\n---\nserver:\n  http_listen_address: 0.0.0.0:22001\n  cors:\n    allowed_origins: [\"*\"]\n    max_age: 1200\nbackends:\n  demo:\n    create: true # default value of `create` is false\n    update: true # default value of `update` is false\n    delete: true # default value of `delete` is false\n    dsn: \"demo:demo@tcp(localhost)/demo?parseTime=true\"\n  demo-ro:\n    dsn: \"demo:demo@tcp(localhost)/demo?parseTime=true\"\n\n```\n\n## Security\n\nSecurity is hard, so I won't even pretend :innocent:.\nTo secure this thing, use your favorite reverse proxy, such as nginx.\n\nYou can limit what CRUD methods are allowed.\nBy default, anything other than read is **NOT** allowed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkosegi%2Fdb2rest-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkosegi%2Fdb2rest-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkosegi%2Fdb2rest-bridge/lists"}