Skip to content

A mobile application for tracking your distance and the distance of your team during an outdoor event

License

Notifications You must be signed in to change notification settings

jo-vandamme/team-track

Repository files navigation

TeamTrack

Overview

TeamTrack is an open-source mobile application for outdoor events with a need to track the distance covered by their members. Users can adhere to groups and see in real-time their distance and that of their group and of the event.

Stack Information

TeamTrack is a fullstack javascript application based upon the following stack:

Concern Solution
Server Node 9.5
Server Framework Express
Database RethinkDB
Data Transport GraphQL
Client State Redux
Client Data Cache Apollo
Mobile Framework React Native

TeamTrack is coded using ECMAscript ES6/7 (including async/await). Transpilation is provided by babel.

Setup

Installation

Prerequisites

TeamTrack's backend is fully dockerized, from dev to prod. You will need to install yarn which can be installed by running npm install -g yarn.

TeamTrack requires Node.js >=8.5.0 (I'm using 8.5.0 in development). and it also depends on RethinkDB. However those dependencies are hidden via docker.

Source code

$ git clone https://github.com/jo-va/team-track.git
$ cd team-track

Server-side development

$ yarn deploy:dev

Mobile development

Make sure you have an emulator or a connected device.

$ cd mobile
$ yarn
$ react-native upgrade
$ react-native link

Android

Set android:windowSoftInputMode="adjustPan" in AndroidManifest.xml.

$ react-native run-android

To generate the release APK:

$ cd android && ./gradlew assembleRelease

IOS

$ react-native run-ios

During development, the use of react-native-debugger is suggested.