An app to calculate the time it takes to get home. Written in React(-Native). Created for the course Web Technologien at the FOM Hochschule by @BeneKenobi and @Mekcyed.
You can easily checkout the latest version of branch main
on your own device at https://expo.dev/@benekenobi/take-me-home or in your browser at https://benekenobi.github.io/take-me-home/.
flowchart TD
idOA(Öffne App) --> idAL(Aktualisiere Lokation)
idAL --> idRA(Ermittle Reisedauer Auto)
idAL --> idRO(Ermittle Reisedauer öffentliche Verkehrsmittel)
idAL --> idRF(Ermittele Reisedauer Fahrrad)
idRA --> idZR(Zeige Reisedauern an)
idRO --> idZR
idRF --> idZR
idZR --> idTR(Tap auf Reisedauer)
idTR --> idTS(Generiere Text mit Verkehrsmittel und Reisedauer)
idTS --> idOS(Öffne Teilen-Dialog des Betriebssystems für generierten Text)
yarn install
yarn start
You can use a precompiled dev-container in Visual Studio Code that already includes all dependencies.
create a file called .env
in your root directory and fill with
GOOGLE_API_KEY_WEB="web_api_key"
GOOGLE_API_KEY_IOS="ios_api_key"
GOOGLE_API_KEY_ANDROID="android_api_key"
expo upgrade