Requirements

  • NodeJS
  • JavaDevelopementKit
  • Android Studio
  • Android Device with Android 12 & USB-Debugging

Used Packages

Dev Environment Setup

  1. Download & install NodeJS
  2. Download & install Android Studio
  3. Open Android Studio and go to the SDK Manager sdk-manager
  4. Select Android 12 in the SDK Manager and confirm with apply & ok sdkmanager2
  5. Clone the repository
  6. Open a termin in the repository directory and execute npm install & npm install react-native -g
  7. Now you should be ready to make changes to the source code. To be able to see the changes in the app you need an Android device with Android 12 or higher, NFC and USB-Debugging enabled. Connect the device to your PC and run the command react-native run-android. If you encounter an error along the lines of required java sdk version not installed/found continue with step 8.
  8. (optional) If you get an error similar to the one described in step 7, you will need to installed the described java sdk version and add it to you PC's path environment

Export DB-Data to CSV

  • Download MongoDB-Compass
  • Log in to you database
  • Navigate to the desired document collection
  • Click on Export Collection export_collection
  • Select Export Full Collection col_download
  • Choose the desired fields to export
  • Select CSV for the Export File Type, choose a location and click on Export