Skip to content

cyla-app/cyla-app

Repository files navigation

Cyla - Secure Cycle Tracking

Period & ovulation information is medical data. Current period tracking apps reportedly share user data with third parties. We believe that users should be in control of their data, especially when the data gives insights into a persons health and sexual activity. We want to create an app for people who want to give birth as well as people who want to avoid pregnancy with a strong focus on privacy.

The Kanban board can be found here.

Documentation

See here

Setup

backend

OpenAPI OpenAPI Login

  1. cd backend/
  2. go get -d

frontend

  1. cd frontend
  2. npm instal
  3. npx react-native start

Inspect app preferences

Inspect encryption storage:

adb shell cat /data/data/app.cyla/shared_prefs/encryption_storage.xml

Inspect app storage:

adb shell cat /data/data/app.cyla/shared_prefs/app_storage.xml

Changing the server url and reset the current user can be done using adb and bash. For example to change the base url to http://192.168.0.55:

adb shell 'rm /data/data/app.cyla/shared_prefs/encryption_storage.xml'
adb shell "echo '<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?><map><string name=\"apiBasePath\">http://192.168.0.55:5000</string></map>' > /data/data/app.cyla/shared_prefs/app_storage.xml"

Then restart the app completely.

Docker

  1. Create a .env file in the project root. Fill it according to .env.example.
  2. Start all containers: sudo docker-compose up

Services:

  • app (Port: 5000)
  • redis (Port: 6379)

Inspecting database

  1. First get the redis container id docker ps
  2. Then use the id to start redis-cli: docker exec -i -t <id> redis-cli
  3. Execute keys * to get all keys in redis.
  4. Then use the keys to call hgetall "<key>"

About

Cyla ist eine privatsphärefreundliche Perioden und Zyklus App.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •