All Projects → demokratie-live → Democracy Client

demokratie-live / Democracy Client

Licence: apache-2.0
DEMOCRACY App Client

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Democracy Client

Yarn Package Boilerplate
An Yarn package with babel, jest, flow, prettier and more
Stars: ✭ 10 (-89.8%)
Mutual labels:  babel, npm, yarn, jest
Klap
zero config, zero dependency bundler for tiny javascript packages
Stars: ✭ 143 (+45.92%)
Mutual labels:  babel, npm, yarn
Js Stack Boilerplate
Final boilerplate code of the JavaScript Stack from Scratch tutorial –
Stars: ✭ 145 (+47.96%)
Mutual labels:  babel, yarn, jest
Tsdx
Zero-config CLI for TypeScript package development
Stars: ✭ 9,010 (+9093.88%)
Mutual labels:  npm, yarn, jest
Lighthouse Badges
🚦Generate badges (shields.io) based on Lighthouse performance.
Stars: ✭ 150 (+53.06%)
Mutual labels:  babel, npm, jest
Express Webpack React Redux Typescript Boilerplate
🎉 A full-stack boilerplate that using express with webpack, react and typescirpt!
Stars: ✭ 156 (+59.18%)
Mutual labels:  babel, yarn, jest
Front End Guide
📚 Study guide and introduction to the modern front end stack.
Stars: ✭ 14,073 (+14260.2%)
Mutual labels:  babel, yarn, jest
React Boilerplate
This project is deprecated. Please use CRA instead.
Stars: ✭ 88 (-10.2%)
Mutual labels:  babel, yarn, jest
Node Developer Boilerplate
🍭 Boilerplate for ES6+ Node.js and npm Developer
Stars: ✭ 82 (-16.33%)
Mutual labels:  babel, npm, yarn
React Boilerplate
Production-ready boilerplate for building universal web apps with React and Redux
Stars: ✭ 53 (-45.92%)
Mutual labels:  babel, jest
Gitpkg
use a sub directory of a github repo as yarn / npm dependency directly
Stars: ✭ 54 (-44.9%)
Mutual labels:  npm, yarn
Floatsidebar.js
Lightweight (2kb gzipped), zero-dependency javascript library for making float sidebars based on the finite state machine
Stars: ✭ 56 (-42.86%)
Mutual labels:  npm, yarn
Js Toolbox
CLI tool to simplify the development of JavaScript apps/libraries with little to no configuration. (WORK IN PROGRESS/PACKAGE NOT PUBLISHED).
Stars: ✭ 53 (-45.92%)
Mutual labels:  babel, jest
React Use Api
Async HTTP request data for axios. Designed for diverse UI states, SSR and data pre-caching.
Stars: ✭ 49 (-50%)
Mutual labels:  npm, yarn
Marvelheroes
Marvel Heroes
Stars: ✭ 54 (-44.9%)
Mutual labels:  babel, jest
Todoist Js
!! OBSOLETE !! The (un)official Todoist javascript API library
Stars: ✭ 46 (-53.06%)
Mutual labels:  babel, jest
Starter React Flux
Generate your React PWA project with TypeScript or JavaScript
Stars: ✭ 65 (-33.67%)
Mutual labels:  babel, jest
Package.json
文件 package.json 的说明文档。
Stars: ✭ 67 (-31.63%)
Mutual labels:  npm, yarn
Yarn.msbuild
MSBuild integration for the Yarn package manager.
Stars: ✭ 57 (-41.84%)
Mutual labels:  npm, yarn
Generator Rn Toolbox
The React Native Generator to bootstrap your apps
Stars: ✭ 1,155 (+1078.57%)
Mutual labels:  yarn, jest

DEMOCRACY-Client  

Build Status

The Client for the DEMOCRACY App. This includes iOS and Android generated from the same Codebase.

Systemmap

Systemmap

Tech Stack

More Dependecies

Projekt Struktur

Prerequisites

  • Node.js
  • Android Studio or Android SDK follow the installation Instructions here
  • [optional][windows] install windows-build-tools for node
    npm install --global --production windows-build-tools
    (installs python) (requireds administrator rights)
    

Contribute

Note- It is necessary to copy the .env.example to .env to start the local development.

Install Dependencies

git clone https://github.com/demokratie-live/democracy-client
cd democracy-client
yarn install
yarn pods (macOS only)

Setup React-Native Environment

ReactNative Setup

Android Workaround (currently handled by postinstall script) https://github.com/facebook/react-native/issues/25822

open node_modules/@react-native-community/cli-platform-android/native_modules.gradle
replace:
def command = "node ./node_modules/react-native/cli.js config"
with
def command = "node ../../node_modules/react-native/cli.js config"

Start Developing UI

Android

cd packages/mobile-ui
yarn android
(if that gets stuck use two terminals. One for `yarn start` and one for `yarn android`)
(also make sure to use the correct java8 version: `export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/`)
(also make sure to use the correct android sdk root: `export ANDROID_SDK_ROOT=/home/{username}/Android/Sdk`)
(ignore metro bundler errors)
CMD+M and Change Bundle Location to 127.0.0.1:8088
(error should be solved)

Start virtual Android Device:

open Android Studio
create Device with API 29 or higher(?)
start device

Connect real Android Device:

adb start-server
enable usb debugging on the device
authorize host on device
verify with `adb devices`

iOS

cd packages/mobile-ui
yarn ios
(ignore metro bundler errors)
CMD+M and Configure Bundler Location to Host: 127.0.0.1 & Port: 8088
(error should be solved)

Start Developing App

Android

cd packages/mobile-app
yarn android

iOS

cd packages/mobile-app
cd ios
pod install
cd ..
yarn ios

Testing

Unit tests

cd packages/mobile-app
yarn test

or with watch mode

cd packages/mobile-app
yarn test:watch

e2e Detox iOS

cd packages/mobile-app
yarn detox build -c ios.sim.debug
yarn detox test -c ios.sim.debug

e2e Detox Android

cd packages/mobile-app
yarn detox build -c android.emu.internal.debug
yarn start
yarn detox test -c android.emu.internal.debug

Deployment

Deployment is done with Travis CI

Contributing

Anyone and everyone is welcome to contribute. Start by checking out the list of open issues.

License

Copyright © 2017-present DEMOCRACY Deutschland e.V.. This source code is licensed under the Apache 2.0 license found in the LICENSE file.

Maintainers

Manuel Ruck
Maintainer
Ulf Gebhardt
Maintainer

Toolset

BrowserStack is supporting DEMOCRACY, allowing us to use their service. Thank you for supporting the open source community! ❤️


Made with ♥ by Team DEMOCRACY (democracy-deutschland.de), startnext contributors and contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].