{"id":21659062,"url":"https://github.com/reindexio/reindex-api","last_synced_at":"2025-07-17T21:32:17.029Z","repository":{"id":29211970,"uuid":"32743498","full_name":"reindexio/reindex-api","owner":"reindexio","description":"GraphQL backend as a service","archived":false,"fork":false,"pushed_at":"2017-09-19T12:38:42.000Z","size":3459,"stargazers_count":354,"open_issues_count":0,"forks_count":39,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-15T15:29:33.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.reindex.io/docs/","language":"JavaScript","has_issues":false,"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/reindexio.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":"2015-03-23T16:12:53.000Z","updated_at":"2024-01-28T06:09:17.000Z","dependencies_parsed_at":"2022-09-07T10:03:15.577Z","dependency_job_id":null,"html_url":"https://github.com/reindexio/reindex-api","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/reindexio%2Freindex-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reindexio%2Freindex-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reindexio%2Freindex-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reindexio%2Freindex-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reindexio","download_url":"https://codeload.github.com/reindexio/reindex-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226305140,"owners_count":17603748,"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":"2024-11-25T09:30:22.100Z","updated_at":"2024-11-25T09:30:39.367Z","avatar_url":"https://github.com/reindexio.png","language":"JavaScript","readme":"# reindex-api\n\n\u003e **Note: This project is no longer maintained. The source code is released under the license specified in file LICENSE.**\n\n[![Circle CI](https://circleci.com/gh/reindexio/reindex-api.svg?style=svg\u0026circle-token=080d24db0ad712462742bb77cd91a316c2267e46)](https://circleci.com/gh/reindexio/reindex-api)\n\nreindex-api is a multi-tenant, hosted GraphQL database solution. reindex-api converts a JSON based schema into a GraphQL API in addition to creating a database storage (MongoDB or RethinkDB) underneath. GraphQL API is fully Relay compatible and contains CRUD operations as entry points. Input is Relay-aware and declarative. Additionally, reindex-api provides Social Login with 5 providers (Auth0, Facebook, Google, Twitter and Github). Functionality of reindex-api can be extended by configuring hooks that call external web services. It also provides a rich permission system based on defining graph paths to the user type.\n\nreindex-api was designed with scalability in mind, but so far doesn't have many possible performance improving tools, like e.g. cache or query optimizations.\n\n### Components\n\n* schema creator - gets list of types and creates db independent GraphQL API\n* database connector - abstracts out RethinkDB and MongoDB specifics\n* database migration tool - abstracts out changes to the database after schema\n  is updated\n* permission checker - checks permissions based on graph path traversal\n* multi-tenancy module - gets the api of correct user and manages apps\n* social login - manages third-party auth service integration\n* http server - manages request and JWT request authentication\n\n### Installation\n\n- Install MongoDB and optionally RethinkDB\n- Install dependencies\n\n  ```\n  npm install\n  ```\n\n- Run tests\n\n  ```\n  npm test\n  ```\n\n- Create admin app\n\n  ```\n  npm run create-admin-app admin.localhost.reindexio.com\n  ```\n\n- Create a test app (`localhost`)\n\n  ```\n  npm run create-app\n  ```\n\n- Run server\n\n  ```\n  npm start\n  ```\n\n- You can login into GraphiQL by passing the admin token in the `token` query\nstring argument:\n\n  ```\n  http://localhost:5000/?token=\u003cYOUR_TOKEN\u003e\n  ```\n","funding_links":[],"categories":["📦 Legacy \u0026 Inactive Projects","JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freindexio%2Freindex-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freindexio%2Freindex-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freindexio%2Freindex-api/lists"}