bvaughn / personal-logger

Webapp for tracking personal diet, sleep, and general wellness
https://personal-logger.now.sh
124 stars 11 forks source link

Try it out by signing in with your Google, Github, or Twitter accounts at personal-logger.now.sh.

Local Installation

This application was built with create-react-app. To run it locally, clone this repository and then:

yarn install
yarn start

Firestore Configuration

Indexes

This application relies on a single collection, "entries", with a single index on the following fields:

Rules

Security for this application relies on the following rules:

service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      // Authenticated users can access data that is explicitly associated with them.
      allow read, update, delete: if  request.auth.uid != null &&
                                      request.auth.uid == resource.data.user;

      // Authenticated users can create new records.
      allow create: if request.auth.uid != null;
    }
  }
}