francishero / personal-logger

Webapp for tracking personal diet, sleep, and general wellness

Home Page:https://personal-logger.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • user, ascending
  • `$category`, ascending
  • date, descending

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;
    }
  }
}

About

Webapp for tracking personal diet, sleep, and general wellness

https://personal-logger.now.sh


Languages

Language:JavaScript 95.2%Language:CSS 2.9%Language:HTML 2.0%