Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

esatbayhan/fitness-survey-app

Repository files navigation

22A15

Documents

Archived

This project has been archived. No further security audits will be conducted. Related cloud services have been shut down and will no longer function. Any API keys will no longer work.

How to interact with the database?

  • Instantiate XyzRepository (replace Xyz with the Entity name)
  • Call one of the public methods

How to insert a new accelerometer datapoint inside database?

    AccelerometerRepository accelerometerRepository = new AccelerometerRepository(getApplication());
    accelerometerRepository.insert(new Accelerometer(timestamp, x, y, z));

Firebase Security Rules:

rules_version = '2';
service firebase.storage {
  match /b/{bucket}/o {
    match /{uid}/{db_file} {
      allow create: if isSignedIn() && isOwner(uid);
    }
  
    function isSignedIn() {
    	return request.auth != null;
    }
    
    function isOwner(uid) {
    	return request.auth.uid == uid;
    }
  }
}

Database Datasheet

Rumination

rumination:

  • 0: I was stuck on negative thoughts and could not disengage from them
  • 1: I am thinking about my feelings
  • 2: I am thinking about my problems
  • 3: Other

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages