{"id":24589283,"url":"https://github.com/bsstudio/bss-web-graphql-backend","last_synced_at":"2026-04-09T00:06:24.625Z","repository":{"id":224771112,"uuid":"764179281","full_name":"BSStudio/bss-web-graphql-backend","owner":"BSStudio","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-03T05:36:47.000Z","size":2001,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-03T08:55:28.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://app.circleci.com/pipelines/github/BSStudio/bss-web-graphql-backend?branch=main","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BSStudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-27T16:10:17.000Z","updated_at":"2026-04-03T05:36:49.000Z","dependencies_parsed_at":"2024-02-28T09:46:01.834Z","dependency_job_id":"7abef45c-1405-44c4-bd3d-6724b1adf399","html_url":"https://github.com/BSStudio/bss-web-graphql-backend","commit_stats":null,"previous_names":["bsstudio/bss-web-backend","bsstudio/bss-web-graphql-backend"],"tags_count":57,"template":false,"template_full_name":null,"purl":"pkg:github/BSStudio/bss-web-graphql-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BSStudio%2Fbss-web-graphql-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BSStudio%2Fbss-web-graphql-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BSStudio%2Fbss-web-graphql-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BSStudio%2Fbss-web-graphql-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BSStudio","download_url":"https://codeload.github.com/BSStudio/bss-web-graphql-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BSStudio%2Fbss-web-graphql-backend/sbom","scorecard":{"id":1238227,"data":{"date":"2025-09-27T09:22:56Z","repo":{"name":"github.com/BSStudio/bss-web-graphql-backend","commit":"b6c0434660d5527d56c50ad1663006c3114c2b32"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":7,"checks":[{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: RenovateBot: renovate.json:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:  17 out of  17 GitHub-owned GitHubAction dependencies pinned","Info:  14 out of  14 third-party GitHubAction dependencies pinned","Info:   3 out of   3 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/docker.yml:28","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/docker.yml:29","Info: topLevel permissions set to 'read-all': .github/workflows/build.yml:10","Info: topLevel permissions set to 'read-all': .github/workflows/docker.yml:14","Info: topLevel permissions set to 'read-all': .github/workflows/release.yml:9","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:20"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: 'stale review dismissal' is disabled on branch 'main'","Warn: branch 'main' does not require approvers","Warn: codeowners review is not required on branch 'main'","Warn: 'last push approval' is disabled on branch 'main'","Warn: 'up-to-date branches' is disabled on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Contributors","score":0,"reason":"project has 0 contributing companies or organizations -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"CI-Tests","score":10,"reason":"30 out of 30 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-09-27T09:26:08.931Z","repository_id":224771112,"created_at":"2025-09-27T09:26:08.963Z","updated_at":"2025-09-27T09:26:08.963Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-01-24T08:14:38.503Z","updated_at":"2026-04-09T00:06:24.607Z","avatar_url":"https://github.com/BSStudio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BSS web graphQL backend\n\n[![Build](https://github.com/BSStudio/bss-web-graphql-backend/actions/workflows/build.yml/badge.svg)](https://github.com/BSStudio/bss-web-graphql-backend/actions/workflows/build.yml)\n[![Release](https://github.com/BSStudio/bss-web-graphql-backend/actions/workflows/release.yml/badge.svg)](https://github.com/BSStudio/bss-web-graphql-backend/actions/workflows/release.yml)\n[![Docker](https://github.com/BSStudio/bss-web-graphql-backend/actions/workflows/docker.yml/badge.svg)](https://github.com/BSStudio/bss-web-graphql-backend/actions/workflows/docker.yml)\n[![CodeQL](https://github.com/BSStudio/bss-web-graphql-backend/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/BSStudio/bss-web-graphql-backend/actions/workflows/github-code-scanning/codeql)\n![GitHub Release Date](https://img.shields.io/github/release-date/BSStudio/bss-web-graphql-backend)\n![GitHub Tag](https://img.shields.io/github/v/tag/BSStudio/bss-web-graphql-backend)\n![GitHub branch checks state](https://img.shields.io/github/checks-status/BSStudio/bss-web-graphql-backend/main)\n![Codecov branch](https://img.shields.io/codecov/c/gh/BSStudio/bss-web-graphql-backend/main)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/BSStudio/bss-web-graphql-backend)\n![GitHub](https://img.shields.io/github/license/BSStudio/bss-web-graphql-backend)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=bugs)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=code_smells)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=ncloc)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=sqale_index)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=BSStudio_bss-web-graphql-backend\u0026metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=BSStudio_bss-web-graphql-backend)\n\n\n\nThis project exposes public information for the BSS website.\nIt uses [Postgraphile][postgraphile] to expose a GraphQL API.\n\n## Development\n\n### Prerequisites\n\n* [Node.js][node]: use [nvm][nvm] to install the correct version\n* [Docker][docker]\n\n### Run database\n```bash\n# Go to the bss-web-admin-backend project\n# Or clone it if you haven't already\ncd ..\ngit clone git@github.com:BSStudio/bss-web-admin-backend.git\ncd bss-web-admin-backend\n# Run the admin backend and the database\ndocker compose up -d --build\n# Wait for the app to initialize the database\n# Stop the app, mock-file-api (keeping the database only)\ndocker compose down app mock-file-api\n```\n\n### Build \u0026 run project\n\n```bash\nnpm install\nnpm run build\nnpm run start\n```\n\nLook at the [environment variables section][env] to see how to configure the project.\n\n### Start development server\n\n```bash\nnpm run dev\n```\n\nLook at the [environment variables section][env] to see how to configure the project.\n\n### Run tests\n\n```bash\nnpm run test\n```\n\n### Lint code\n\n```bash\nnpm run lint\n# or\nnpm run lint:fix\n```\n\n### Build docker image\n\n```bash\ndocker build -t bss-web-public-backend .\ndocker run -p 3000:3000 bss-web-public-backend\n```\n\nLook at the [environment variables section][env] to see how to configure the project.\n\n## Environment variables\n\nThe following environment variables are used to configure the project:\nYou can set them using a .env file or by setting them in the environment.\n\n| Name                          | Default/required | Description                                    |\n|-------------------------------|------------------|------------------------------------------------|\n| PORT                          | 3000             | The port the server listens on                 |\n| DATABASE_CONNECTION_STRING    | ⚠️️ Required ⚠️  | The connection string to the Postgres database |\n| DATABASE_SCHEMA               | 'public'         | The schema to use in the database              |\n| POSTGRAPHILE_GRAPHIQL         | false            | Show GraphiQL interface                        |\n| POSTGRAPHILE_WATCH_PG         | false            | Apply changes to the schema automatically      |\n| POSTGRAPHILE_SHOW_ERROR_STACK | false            | Show error stack traces                        |\n\n[postgraphile]: https://www.graphile.org/postgraphile/ \"Postgraphile website\"\n\n[node]: https://nodejs.org/ \"Node.js website\"\n\n[nvm]: https://github.com/nvm-sh/nvm \"nvm GitHub repository\"\n\n[docker]: https://www.docker.com/ \"Docker website\"\n\n[env]: #environment-variables \"Environment variables section\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsstudio%2Fbss-web-graphql-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsstudio%2Fbss-web-graphql-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsstudio%2Fbss-web-graphql-backend/lists"}