{"id":19973812,"url":"https://github.com/7bridges-eu/remys","last_synced_at":"2025-05-04T02:32:15.398Z","repository":{"id":159943719,"uuid":"113287193","full_name":"7bridges-eu/remys","owner":"7bridges-eu","description":"Rest APIs for MySQL databases","archived":false,"fork":false,"pushed_at":"2019-05-09T09:46:14.000Z","size":209,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T01:42:16.811Z","etag":null,"topics":["clojure","mysql","rest-api"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/7bridges-eu.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":"2017-12-06T08:06:16.000Z","updated_at":"2025-02-19T16:55:18.000Z","dependencies_parsed_at":"2024-02-19T05:15:18.088Z","dependency_job_id":null,"html_url":"https://github.com/7bridges-eu/remys","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/7bridges-eu%2Fremys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7bridges-eu%2Fremys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7bridges-eu%2Fremys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7bridges-eu%2Fremys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7bridges-eu","download_url":"https://codeload.github.com/7bridges-eu/remys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252279024,"owners_count":21722816,"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":["clojure","mysql","rest-api"],"created_at":"2024-11-13T03:13:00.190Z","updated_at":"2025-05-04T02:32:15.149Z","avatar_url":"https://github.com/7bridges-eu.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/7bridges-eu/remys/blob/master/resources/logo.png\" alt=\"7bridges remys\"\n    width=\"500px\" height=\"122px\"/\u003e\n\u003c/p\u003e\n\n# remys\n\nInteract with MySQL databases using REST APIs.\n\n## Usage\n\n``` shell\n$ lein run -- -u \u003cusername\u003e -p \u003cpassword\u003e -d \u003cdatabase\u003e start\n```\n\nThe server will be listening on port `3000`.\n\nYou can specify the hostname and the port of the MySQL database you wish to\ninteract with:\n\n``` shell\n$ lein run -- -H \u003chostname\u003e -P \u003cport\u003e -u \u003cusername\u003e -p \u003cpassword\u003e -d \u003cdatabase\u003e start\n```\n\nNow you can interact with your database via REST. Examples:\n\n- get all the records from `departments` table:\n``` shell\n$ curl -i -X GET 'http://localhost:3000/api/departments'\n```\n\n- get a specific record from `departments` table:\n``` shell\n$ curl -i -X GET 'http://localhost:3000/api/departments/d009'\n```\n\n- get only some columns from `departments` table:\n``` shell\n$ curl -i -X GET 'http://localhost:3000/api/departments?fields=dept-no,dept-name'\n```\n\n- run a custom query:\n``` shell\n$ curl -i -X POST 'http://localhost:3000/api/dynamic'\\\n    -H \"Content-Type: application/json\"\\\n    -d '{\"query\":\"select * from salaries limit 100\"}'\n```\n\n- update a record:\n``` shell\n$ curl -i -X PUT 'http://localhost:3000/api/employees/10001'\\\n  -H \"Content-Type: application/json\" -d '{\"gender\": \"F\"}'\n```\n\nFor further details check the [APIs\ndocumentation](https://7bridges-eu.github.io/remys/).\n\nremys has been tested using the freely available\n[test_db](https://github.com/datacharmer/test_db).\n\n## License\n\nCopyright © 2017 7bridges s.r.l.\n\nDistributed under the Apache License 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7bridges-eu%2Fremys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7bridges-eu%2Fremys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7bridges-eu%2Fremys/lists"}