{"id":25110074,"url":"https://github.com/ccims/ccims-backend-gql","last_synced_at":"2025-10-22T21:30:52.293Z","repository":{"id":52172264,"uuid":"290839191","full_name":"ccims/ccims-backend-gql","owner":"ccims","description":"Backend for the Cross-Component Issue Management System (Gropius) using a GraphQL-API","archived":false,"fork":false,"pushed_at":"2021-10-01T23:04:47.000Z","size":1566,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-28T00:27:15.259Z","etag":null,"topics":["ccims-backend","gropius","gropius-backend"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccims.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-27T17:27:23.000Z","updated_at":"2021-06-27T07:16:35.000Z","dependencies_parsed_at":"2022-08-24T04:31:05.141Z","dependency_job_id":null,"html_url":"https://github.com/ccims/ccims-backend-gql","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccims%2Fccims-backend-gql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccims%2Fccims-backend-gql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccims%2Fccims-backend-gql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccims%2Fccims-backend-gql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccims","download_url":"https://codeload.github.com/ccims/ccims-backend-gql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237739862,"owners_count":19358625,"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":["ccims-backend","gropius","gropius-backend"],"created_at":"2025-02-08T00:35:02.679Z","updated_at":"2025-10-22T21:30:46.839Z","avatar_url":"https://github.com/ccims.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCIMS-Backend\r\nThe Backend for the ccims system using nodejs and providing a graphql library\r\nTo get a recent version of the api, please use the branch dev\r\n\r\n## Schema generation\r\n### Schema for the `/api` access-restricted endpoint\r\nFor generating the schema file at `schema/schema.graphql` execute:\r\n```\r\nnpm run schema schema/schema.graphq\r\n```\r\nThis will generate a commented graphql schema from the most recent code version.\r\n\r\nPrinting schema to stdout: `npm run --silent schema`\r\n\r\n### Schema for the `/api/public` public user registration endpoint\r\nFor generating the schema file at `schema/public.graphql` execute:\r\n```\r\nnpm run schema -- schema/public.graphq -p\r\n```\r\nThis will generate a commented graphql schema from the most recent code version.\r\n\r\nPrinting schema to stdout: `npm run --silent schema -- -p`\r\n\r\n# Usage / Installation\r\n\r\n## No Login\r\nIf you want to test without login,\r\n```json\r\n{\r\n    \"debugNoLogin\": true\r\n}\r\n```\r\nshould be set in `./config/api.json`\r\n\r\n## Without docker\r\nMake sure that you have installed postgres\r\n```\r\nnpm i\r\nnode .\\scripts\\database.js | psql -U postgres -d ccims\r\nnpm start\r\n```\r\n\r\n## With docker\r\n```bash\r\n# for a clean build run this before docker compose:\r\nrm tsconfig.tsbuildinfo\r\nnpm i\r\nnpm run database-file\r\ndocker-compose up\r\n```\r\n`./config/postgres.json` should look like this:\r\n```json\r\n{\r\n    \"$schema\": \"./postgres.schema.json\",\r\n    \"user\": \"ccims-user\",\r\n    \"password\": \"ccims-password\",\r\n    \"database\": \"ccims\",\r\n    \"host\": \"db\",\r\n    \"port\": 5432\r\n}\r\n```\r\nAccess the db with psql:\r\n\r\n```bash\r\npsql --username ccims-user --dbname ccims --host localhost --port 5433\r\n# password is 'ccims-password'\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccims%2Fccims-backend-gql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccims%2Fccims-backend-gql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccims%2Fccims-backend-gql/lists"}