{"id":19791853,"url":"https://github.com/solidstategroup/diagnosisview-api","last_synced_at":"2026-02-14T00:35:52.390Z","repository":{"id":44645166,"uuid":"141991515","full_name":"SolidStateGroup/diagnosisview-api","owner":"SolidStateGroup","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-03T21:19:20.000Z","size":907,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-09-21T21:31:06.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/SolidStateGroup.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,"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":"2018-07-23T09:22:44.000Z","updated_at":"2021-11-23T10:43:29.000Z","dependencies_parsed_at":"2025-09-18T01:32:35.426Z","dependency_job_id":"2b4f999f-f2e7-499c-a873-88b38adccbc5","html_url":"https://github.com/SolidStateGroup/diagnosisview-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SolidStateGroup/diagnosisview-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fdiagnosisview-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fdiagnosisview-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fdiagnosisview-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fdiagnosisview-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolidStateGroup","download_url":"https://codeload.github.com/SolidStateGroup/diagnosisview-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fdiagnosisview-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29426018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"ssl_error","status_checked_at":"2026-02-13T22:20:49.838Z","response_time":78,"last_error":"SSL_read: 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":"2024-11-12T07:05:08.901Z","updated_at":"2026-02-14T00:35:52.362Z","avatar_url":"https://github.com/SolidStateGroup.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diagnosis View Api\n\nAggregates data from multiple providers and provides diagnosis data via an api.\n\n## Authentication\n\nAll authentication is handled using an inbuilt login service, which will create a token for a user.\nJava Web Tokens (JWT) are created by the API on successful authentication with ADFS. These must be\nsent with all authenticated requests as a header \"X-Auth-Token\".\n\n## Authorisation\n\nCurrently there is only one user in the application who has access to the complete project summary.\n\n## Data\n\nData is created using an admin service which will create a unique set of projects\n\n## Environment Variables\n\n* FRONT_END_URL - The redirect location on successful SAML authentication, points to the React front\n  end.\n* JWT_ENABLED - Enables request filtering for authorisation, turns security on if set to \"true\".\n* SERVER_PORT - Sets the listening port for the API, set to \"5000\" if running on Elastic Beanstalk.\n* SPRING_DATASOURCE_PASSWORD - Password for data store, currently PostgreSQL in RDS.\n* SPRING_DATASOURCE_URL - JDBC URL for data store, e.g. jdbc:postgresql://instance:5432/database.\n* SPRING_DATASOURCE_USERNAME - Username for data store.\n* NHS_CHOICES_API_KEY\n* RECAPTCHA_SITEKEY\n* RECAPTCHA_SITESECRET\n* CHARGEBEE_API_KEY\n* CHARGEBEE_SITE\n\n## Create database\n\nWe are using PostgreSQL for storing the data. You would need local instance running locally before\nrunning the project. Project using flyway to created database schema and apply any changes. Please\nmake sure database exist before deploying application.\n\n```sh \nInstall it local \n```\n\nonce installed check the version\n\n```sh  \npostgres -V\n```\n\nto start PostgreSQL server if not started automatically.\n\n```sh \nbrew services start postgresql \n```\n\nUsing `psql` terminal based tool to to carry admin function on PostgreSQL, you can use other\nalternative tools.\n\n```sh \npsql postgres\n```\n\nCheck what user currently installed\n\n```sh \n\\du\n```\n\nCreate local users and grant CREATEDB role\n\n```sh \nCREATE ROLE diagnosisview WITH LOGIN PASSWORD 'diagnosisview';\nALTER ROLE diagnosisview CREATEDB;\n\\q # quits\n```\n\nLogin with newly created user and create databases\n\n```sh \npsql postgres -U diagnosisview\nCREATE DATABASE diagnosisview;\nGRANT ALL PRIVILEGES ON DATABASE diagnosisview TO diagnosisview;\n\\q # quits\n```\n\nSome PostgreSQL commands\n\n```sh \n\\list  \t\t# lists all databases in Postgres\n\\connect  \t# connect to a specific database\n\\dt  \t\t# list the tables in the currently connected database\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidstategroup%2Fdiagnosisview-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidstategroup%2Fdiagnosisview-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidstategroup%2Fdiagnosisview-api/lists"}