{"id":19004922,"url":"https://github.com/dhis2/capture-app","last_synced_at":"2026-04-14T13:01:31.681Z","repository":{"id":37755836,"uuid":"114691348","full_name":"dhis2/capture-app","owner":"dhis2","description":"Next version DHIS 2 data capture app","archived":false,"fork":false,"pushed_at":"2026-04-06T13:48:32.000Z","size":75978,"stargazers_count":24,"open_issues_count":21,"forks_count":39,"subscribers_count":32,"default_branch":"master","last_synced_at":"2026-04-06T15:31:14.324Z","etag":null,"topics":["synced-settings","tx","web-app"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-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":"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":"2017-12-18T21:52:34.000Z","updated_at":"2026-03-26T09:50:52.000Z","dependencies_parsed_at":"2026-02-15T22:10:24.334Z","dependency_job_id":null,"html_url":"https://github.com/dhis2/capture-app","commit_stats":null,"previous_names":[],"tags_count":945,"template":false,"template_full_name":null,"purl":"pkg:github/dhis2/capture-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fcapture-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fcapture-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fcapture-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fcapture-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhis2","download_url":"https://codeload.github.com/dhis2/capture-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fcapture-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31797376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"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":["synced-settings","tx","web-app"],"created_at":"2024-11-08T18:25:20.335Z","updated_at":"2026-04-14T13:01:31.637Z","avatar_url":"https://github.com/dhis2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capture app\n\nThe Capture app serves as a replacement for the Event Capture app. In the future, the intention is to incorporate the Tracker Capture app and the Data Entry app into the Capture app.\n\nIn the Capture app you register events that occurred at a particular time and place. An event can happen at any given point in time. This stands in contrast to routine data, which can be captured for predefined, regular intervals. Events are sometimes called cases or records. In DHIS2, events are linked to a program. The Capture app lets you select the organisation unit and program and specify a date when a event happened, before entering information for the event.\n\nFind the official documentation of the Capture app [here](https://docs.dhis2.org/master/en/dhis2_user_manual_en/using-the-capture-app.html).\n \n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nWhat things you need to install and how to install them.\n\n#### Node \n\nYou can download and install Node on your machine from [here](https://nodejs.org/en/download/).\n\n#### Git \n\nYou can find a tutorial on how to install `git` on your machine [here](https://www.atlassian.com/git/tutorials/install-git).\n\n#### Yarn 1\n\nYou can install `yarn 1` on your machine following the instructions [here](https://classic.yarnpkg.com/en/docs/install/).\n\n\n### Installing\n\nStep by step instructions for setting up a development environment.\n\n#### 1. Clone the repository\n\nClone with SSH\n```\ngit clone git@github.com:dhis2/capture-app.git\n```\n\nClone with HTTPS \n```\ngit clone https://github.com/dhis2/capture-app.git\n```\n\n#### 2. Install project dependencies\n\nTo install the dependencies you will have to be at the source folder of the cloned repository. Then run:\n\n```\nyarn \n```\n#### 3. Enable cross-site cookies in your browser (if server is running on a different domain)\n\nRead about cross-site cookies and DHIS2 applications [here](https://dhis2.nu/docs/guides/debug-instance/#disable-samesite-by-default-cookies)\n\n#### 4. Build the application\n\nTo build the application locally run:\n\n```\nyarn build\n```\n\n#### 5. Run the application\n\nTo start the application locally and interact with it in the browser, run:\n\n```\nyarn start\n```\n\n`http://localhost:3000` should automatically open in your browser. \n\nYou will be prompted for a path to the server instance, a user name and a password.\n\nThe path to the server instance can also be set by supplying a `.env.development.local` file in the root folder of the project. An example of an `.env.development.local` file:\n\n```\nDHIS2_BASE_URL=\"http://localhost:8080\"\n```\n\n## Local Cypress testing\n\nTo run Cypress tests locally on your own machine, follow the instructions [here](https://github.com/dhis2/capture-app/wiki/Cypress#run-cypress-tests-locally).\n\n## Conditional E2E Test Recording\n\nTo record 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## Built With\n\nThis project was bootstrapped with [Vite](https://vite.dev/).\n\n\n## Commits\n\nWe use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) as convention for our commit messages.\n\n## License\n\nThis project is licensed under the BSD 2-Clause License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhis2%2Fcapture-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhis2%2Fcapture-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhis2%2Fcapture-app/lists"}