erikvillegas / kitty-app

App to monitor litter of cats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kitten App

Description

A simple web tool for easily recording weights for kittens (or really, any animal), and understanding their progression. It's one solution for the tricky question of "how is my kitten doing?".

This is a personal project only used by me, so it's pretty basic!

How it works

This is a server-side rendered website using Python's Flask framework with Google Sheets as the database. Google Sheets was chosen because I was already using it for manually recording weights and visualizing progression with their built-in chart feature. When you submit the weights for one or more kittens, Javascript invokes a backend API which posts the values and timestamp to the spreadsheet, using Google Sheets v4 API. The spreadsheet is configured to automatically generate a chart which is then displayed on the profiles.html page for each kitten.

The Python backend takes this a step further by calculating the recent gains in a 12 and 24 hour period, as well as average gains for the current and past few days. This is meant to give you the best possible insight into positive and negative trends for each kitten.

About

App to monitor litter of cats


Languages

Language:Python 53.8%Language:HTML 28.0%Language:JavaScript 11.6%Language:CSS 6.5%