Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

motivation

sotired is an application for cognitive fatigue assessment.it includes a stand-alone android app for fatigue detection and an additional part for data management and further analysis. the project is structured as client side (stand-alone app)
implemented in dart/flutter and a server side (data management) written in golang.
besides android, dart/flutter provides the ability to add an ios, desktop and / or web application from a single codebase.

sotired is a rewrite of the application presented in the
validation of a smartphone-based approach to in situ cognitive fatigue assessment
paper by edward price, george moore, leo galway and mark linden.

how to contribute

prs are very welcome! 🙂
you can set up your development environments following the steps below.

app development environment setup

  1. make sure you have flutter (version 2.5.0 or higher) installed and flutter doctor -v does not have any
    errors regarding android development.
  2. download the repository and run cd sotired/ && make init to initialize git pre-commit hooks.
  3. inside the sotired/ directory run make flutterpubget to install all depending packages.

server development environment setup

  1. make sure you have go (version 1.17 or higher) installed.
  2. download the repository and run cd sotired/ && make init to initialize git pre-commit hooks.
  3. inside the sotired/server/ directory run go install to install all requirements.

you’re good to go now 🙂
note: check the makefile for useful commands regarding the app and also the server part.

how to install the app

  1. make sure you have adb installed (or something similar to install the app). (the lowest android
    version supported is version 9.0 (api level 28).)
  2. download the official release (here) or build
    it yourself by running make flutterbuild in the root directory of the project. note that you need to
    set up your development environment first.

how to set up the server

  1. after setting up the server development environment run cd sotired && make gobuild to build the
    server.
  2. by then typing cd server && ./soti-server you will be displayed the server help. follow these
    instructions to start the server.

contributions

for communication through the code, please use one of the following tags:

fixme - for a bug which can't be fixed now
todo - for a feature or are a design change that has to be done later on
note - for an important information

the git workflow for this repo is rebase-merge, which results in a history of this form:

                             f--g
                            /    
   feature-1 ->     b--c   e------h    <- feature-2
                   /     /        
                --a------d----------i  <-main

in conclusion, the main branch only contains merge commits from other branches,
which are rebased onto the most recent commit.

documentation

for further information please refer to the app’s report.


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top