{"id":24053226,"url":"https://github.com/kimkha/aor-loopback","last_synced_at":"2025-04-22T17:27:03.639Z","repository":{"id":19154843,"uuid":"84515567","full_name":"kimkha/aor-loopback","owner":"kimkha","description":"Loopback-style REST Client for Admin-on-rest","archived":false,"fork":false,"pushed_at":"2022-12-05T21:16:27.000Z","size":165,"stargazers_count":44,"open_issues_count":11,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T23:05:30.637Z","etag":null,"topics":["admin-on-rest","loopback","restful-api"],"latest_commit_sha":null,"homepage":null,"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/kimkha.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":"2017-03-10T03:31:58.000Z","updated_at":"2020-07-02T14:36:40.000Z","dependencies_parsed_at":"2023-01-13T20:12:07.515Z","dependency_job_id":null,"html_url":"https://github.com/kimkha/aor-loopback","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/kimkha%2Faor-loopback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimkha%2Faor-loopback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimkha%2Faor-loopback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimkha%2Faor-loopback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimkha","download_url":"https://codeload.github.com/kimkha/aor-loopback/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250286462,"owners_count":21405446,"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":["admin-on-rest","loopback","restful-api"],"created_at":"2025-01-09T02:24:20.458Z","updated_at":"2025-04-22T17:27:03.619Z","avatar_url":"https://github.com/kimkha.png","language":"JavaScript","readme":"# Loopback-style REST Client for Admin-on-rest\n\nLoopback-style REST Client for [admin-on-rest](https://github.com/marmelab/admin-on-rest), the frontend framework for building admin applications on top of REST services.\n\n## Not maintained anymore\n\nWith new [react-admin](), please use [loopback-component-react-admin](https://github.com/kimkha/loopback-component-react-admin) instead.\n\nBecause of recent changes of **admin-on-rest**, this module will only support version 0.9.0 (or later) of admin-on-rest.\n\n## Prerequisite\n\n* Your loopback server must response `X-Total-Count` header when querying list. Please use [loopback3-xTotalCount](https://github.com/kimkha/loopback3-xTotalCount) on your server end.\n\n## How to use\n\n1. `yarn add aor-loopback`\n2. On your `App.js`, add this:\n\n```\nimport loopbackRestClient from 'aor-loopback';\n\n...\n\n    \u003cAdmin restClient={loopbackRestClient('http://my.api.url/api')} ...\u003e\n```\n\n3. If you want this module handle authentication, add this:\n\n```\nimport loopbackRestClient, {authClient} from 'aor-loopback';\n\n...\n\n    \u003cAdmin restClient={loopbackRestClient('http://my.api.url/api')} authClient={authClient('http://my.api.url/api/users/login')} ...\u003e\n```\n\n## Example\n\nPlease check example here: [loopback-aor-boilerplate](https://github.com/kimkha/loopback-aor-boilerplate), you should clone it and change your model later.\n\n## License\n\nThis module is licensed under the [MIT Licence](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimkha%2Faor-loopback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimkha%2Faor-loopback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimkha%2Faor-loopback/lists"}