{"id":13808528,"url":"https://github.com/demokratie-live/democracy-client","last_synced_at":"2025-05-14T02:32:06.118Z","repository":{"id":27252862,"uuid":"113053619","full_name":"demokratie-live/democracy-client","owner":"demokratie-live","description":"DEMOCRACY App Client","archived":false,"fork":false,"pushed_at":"2024-04-12T18:52:45.000Z","size":100852,"stargazers_count":134,"open_issues_count":218,"forks_count":28,"subscribers_count":13,"default_branch":"alpha","last_synced_at":"2024-08-04T01:09:47.771Z","etag":null,"topics":["android","democracy","democracy-deutschland","deutschland","evoting","ios","nodejs","react-native","voting","voting-app","voting-application","votingapp","wix","yarn"],"latest_commit_sha":null,"homepage":"https://www.democracy-deutschland.de/#!prototyp","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/demokratie-live.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-12-04T14:34:46.000Z","updated_at":"2024-05-27T14:18:33.000Z","dependencies_parsed_at":"2024-08-04T01:19:09.384Z","dependency_job_id":null,"html_url":"https://github.com/demokratie-live/democracy-client","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demokratie-live%2Fdemocracy-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demokratie-live%2Fdemocracy-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demokratie-live%2Fdemocracy-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demokratie-live%2Fdemocracy-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/demokratie-live","download_url":"https://codeload.github.com/demokratie-live/democracy-client/tar.gz/refs/heads/alpha","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225273247,"owners_count":17448074,"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":["android","democracy","democracy-deutschland","deutschland","evoting","ios","nodejs","react-native","voting","voting-app","voting-application","votingapp","wix","yarn"],"created_at":"2024-08-04T01:01:45.302Z","updated_at":"2024-11-19T00:30:48.839Z","avatar_url":"https://github.com/demokratie-live.png","language":"TypeScript","funding_links":[],"categories":["Software"],"sub_categories":["Software-Development"],"readme":"# DEMOCRACY-Client \u0026nbsp; \u003ca href=\"https://github.com/kriasoft/nodejs-api-starter/stargazers\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/demokratie-live/democracy-client.svg?style=social\u0026label=Star\u0026maxAge=3600\" height=\"20\"/\u003e\u003c/a\u003e \u003ca href=\"https://twitter.com/democracy_de\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/democracy_de.svg?style=social\u0026label=Follow\u0026maxAge=3600\" height=\"20\"/\u003e\u003c/a\u003e \u003ca href=\"https://www.facebook.com/democracygermany/\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/demokratie-live/democracy-assets/blob/master/docu/facebook.png\" height=\"20\"/\u003e\u003c/a\u003e \u003ca href=\"https://discord.gg/Pdu3ZEV\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/demokratie-live/democracy-assets/blob/master/docu/discord.png\" height=\"20\"/\u003e\u003c/a\u003e\n\n[![Build Status](https://travis-ci.org/demokratie-live/democracy-client.svg?branch=master)](https://travis-ci.org/demokratie-live/democracy-client)\n\nThe Client for the DEMOCRACY App. This includes iOS and Android generated from the same Codebase.\n\n## Systemmap\n\n![Systemmap](https://github.com/demokratie-live/democracy-docu/blob/master/app/Systemmap.png)\n\n## Tech Stack\n\n- [Node.js][node], [Yarn][yarn], [JavaScript][js], [Babel][babel], [Jest][jest]\n- [ReactNative][reactnative], [Wix ReactNativeNavigation][wix], [StyledComponents][styledcomponents]\n\n[More Dependecies](https://github.com/demokratie-live/democracy-client/network/dependencies)\n\n![Projekt Struktur](https://github.com/demokratie-live/democracy-assets/blob/master/docu/api_structure_client.png)\n\n## Prerequisites\n\n- [Node.js][node]\n- [Android Studio or Android SDK][android] follow the installation Instructions [here](http://facebook.github.io/react-native/docs/getting-started.html)\n- [optional][windows] install windows-build-tools for node\n  ```\n  npm install --global --production windows-build-tools\n  (installs python) (requireds administrator rights)\n  ```\n\n# Contribute\n\n**Note-** It is necessary to copy the .env.example to .env to start the local development.\n\n## Install Dependencies\n\n```\ngit clone https://github.com/demokratie-live/democracy-client\ncd democracy-client\nyarn install\nyarn pods (macOS only)\n```\n\n## Setup React-Native Environment\n\n[ReactNative Setup](https://facebook.github.io/react-native/docs/getting-started)\n\n### Android Workaround (currently handled by postinstall script) https://github.com/facebook/react-native/issues/25822\n\n```\nopen node_modules/@react-native-community/cli-platform-android/native_modules.gradle\nreplace:\ndef command = \"node ./node_modules/react-native/cli.js config\"\nwith\ndef command = \"node ../../node_modules/react-native/cli.js config\"\n```\n\n## Start Developing UI\n\n### Android\n\n```\ncd packages/mobile-ui\nyarn android\n(if that gets stuck use two terminals. One for `yarn start` and one for `yarn android`)\n(also make sure to use the correct java8 version: `export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/`)\n(also make sure to use the correct android sdk root: `export ANDROID_SDK_ROOT=/home/{username}/Android/Sdk`)\n(ignore metro bundler errors)\nCMD+M and Change Bundle Location to 127.0.0.1:8088\n(error should be solved)\n```\n\nStart virtual Android Device:\n\n```\nopen Android Studio\ncreate Device with API 29 or higher(?)\nstart device\n```\n\nConnect real Android Device:\n\n```\nadb start-server\nenable usb debugging on the device\nauthorize host on device\nverify with `adb devices`\n```\n\n### iOS\n\n```\ncd packages/mobile-ui\nyarn ios\n(ignore metro bundler errors)\nCMD+M and Configure Bundler Location to Host: 127.0.0.1 \u0026 Port: 8088\n(error should be solved)\n```\n\n## Start Developing App\n\n### Android\n\n```\ncd packages/mobile-app\nyarn android\n```\n\n### iOS\n\n```\ncd packages/mobile-app\ncd ios\npod install\ncd ..\nyarn ios\n```\n\n## Testing\n\n### Unit tests\n\n```\ncd packages/mobile-app\nyarn test\n```\n\nor with watch mode\n\n```\ncd packages/mobile-app\nyarn test:watch\n```\n\n### e2e Detox iOS\n\n```\ncd packages/mobile-app\nyarn detox build -c ios.sim.debug\nyarn detox test -c ios.sim.debug\n```\n\n### e2e Detox Android\n\n```\ncd packages/mobile-app\nyarn detox build -c android.emu.internal.debug\nyarn start\nyarn detox test -c android.emu.internal.debug\n```\n\n## Deployment\n\nDeployment is done with Travis CI\n\n## Contributing\n\nAnyone and everyone is welcome to [contribute](CONTRIBUTING.md). Start by checking out the list of\n[open issues](https://github.com/demokratie-live/democracy-client/issues).\n\n## License\n\nCopyright © 2017-present DEMOCRACY Deutschland e.V.. This source code is licensed under the Apache 2.0 license found in the\n[LICENSE](https://github.com/demokratie-live/democracy-client/blob/master/LICENSE) file.\n\n## Maintainers\n\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003ca href=\"https://github.com/ManAnRuck\"\u003e\n          \u003cimg width=\"150\" height=\"150\" src=\"https://github.com/ManAnRuck.png?v=3\u0026s=150\"\u003e\n          \u003c/br\u003e\n          \u003cstrong\u003eManuel Ruck\u003c/strong\u003e\n        \u003c/a\u003e\n        \u003cbr\u003e\n        Maintainer\n      \u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003ca href=\"https://github.com/ulfgebhardt\"\u003e\n          \u003cimg width=\"150\" height=\"150\" src=\"https://github.com/ulfgebhardt.png?v=3\u0026s=150\"\u003e\n          \u003c/br\u003e\n          \u003cstrong\u003eUlf Gebhardt\u003c/strong\u003e\n        \u003c/a\u003e\n        \u003cbr\u003e\n        Maintainer\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003ctbody\u003e\n\u003c/table\u003e\n\n## Toolset\n\n\u003cimg src=\"http://www.browserstack.com/images/layout/browserstack-logo-600x315.png\" width=\"280\"/\u003e\n\n[BrowserStack](http://www.browserstack.com) is supporting DEMOCRACY, allowing us to use their service. Thank you for supporting the open source community! ❤️\n\n---\n\nMade with ♥ by Team DEMOCRACY ([democracy-deutschland.de](https://www.democracy-deutschland.de)), [startnext contributors](https://www.startnext.com/democracy/unterstuetzer/) and [contributors](https://github.com/demokratie-live/democracy-client/graphs/contributors)\n\n[node]: https://nodejs.org\n[yarn]: https://yarnpkg.com\n[js]: https://developer.mozilla.org/docs/Web/JavaScript\n[babel]: http://babeljs.io/\n[reactnative]: http://www.reactnative.com/\n[android]: https://developer.android.com/studio/index.html\n[jest]: http://facebook.github.io/jest/\n[wix]: https://github.com/wix/react-native-navigation\n[styledcomponents]: https://github.com/styled-components/styled-components\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemokratie-live%2Fdemocracy-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemokratie-live%2Fdemocracy-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemokratie-live%2Fdemocracy-client/lists"}