{"id":19004839,"url":"https://github.com/dhis2/dashboard-app","last_synced_at":"2025-10-08T09:49:49.148Z","repository":{"id":37431614,"uuid":"90022787","full_name":"dhis2/dashboard-app","owner":"dhis2","description":"Dashboard app for DHIS 2","archived":false,"fork":false,"pushed_at":"2025-03-29T22:47:55.000Z","size":54178,"stargazers_count":41,"open_issues_count":17,"forks_count":41,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-03-29T23:24:55.298Z","etag":null,"topics":["synced-settings","tx","web-app"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhis2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-05-02T10:54:17.000Z","updated_at":"2025-03-26T11:22:24.000Z","dependencies_parsed_at":"2023-02-19T13:00:27.503Z","dependency_job_id":"5c745a90-a0ae-4c90-ae03-5122133a80fb","html_url":"https://github.com/dhis2/dashboard-app","commit_stats":null,"previous_names":[],"tags_count":328,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdashboard-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdashboard-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdashboard-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdashboard-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhis2","download_url":"https://codeload.github.com/dhis2/dashboard-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247509224,"owners_count":20950232,"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":["synced-settings","tx","web-app"],"created_at":"2024-11-08T18:24:45.083Z","updated_at":"2025-10-08T09:49:49.142Z","avatar_url":"https://github.com/dhis2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![React 18](https://img.shields.io/badge/react-18-blue)\nThis project was bootstrapped with [DHIS2 Application Platform](https://github.com/dhis2/app-platform).\n\n## Development\n\n### `yarn start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n#### Configuration\n\n##### api authentication: REACT_APP_DHIS2_AUTHORIZATION\n\nIn order for event reports and event charts to display in development mode, you need to set up the REACT_APP_DHIS2_AUTHORIZATION environment variable. The following example is the base64 encoded value for the username/password combination of `admin:district`:\n\n```\nREACT_APP_DHIS2_AUTHORIZATION=Basic YWRtaW46ZGlzdHJpY3Q=\n```\n\n### e2e tests\n\n#### Configuration\n\nAdditional environment variables are needed in order to run the Cypress e2e tests. You can configure these in a local file `cypress.env.json`\n\n```\n{\n    \"dhis2BaseUrl\": \"https://test.e2e.dhis2.org/analytics-2.41\",\n    \"dhis2InstanceVersion\": \"2.41\",\n    \"dhis2Username\": \"admin\",\n    \"dhis2Password\": \"district\"\n}\n```\n\n#### Run the e2e tests\n\nThe following commands can be used to run the tests:\n\n| Comman         | Environment | Tests |\n| -------------- | ----------: | ----: |\n| `yarn cy:open` |  Cypress UI |   All |\n| `yarn cy:run`  |    Headless |   All |\n\n### `yarn test`\n\nLaunches the test runner and runs all available unit tests found in `/src`.\u003cbr /\u003e\n\nSee the section about [running tests](https://platform.dhis2.nu/#/scripts/test) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e. This command is run by the continuous integration server.\n\nSee the [building](https://platform.dhis2.nu/#/scripts/build) section for more information.\n\n## Conditional E2E Test Recording\n\nTo record e2e tests in Cypress Cloud, you can use one of the following methods based on your needs:\n\n-   **Commit Message**: Include `[e2e record]` in your commit messages to activate recording.\n-   **GitHub Labels**: Apply the `e2e record` label to your pull request to trigger recording.\n\nThis setup helps in managing Cypress Cloud credits more efficiently, ensuring recordings are only made when explicitly required.\n\n## Learn More\n\nYou can learn more about the platform in the [DHIS2 Application Platform Documentation](https://platform.dhis2.nu/).\n\nYou can learn more about the runtime in the [DHIS2 Application Runtime Documentation](https://runtime.dhis2.nu/).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhis2%2Fdashboard-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhis2%2Fdashboard-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhis2%2Fdashboard-app/lists"}