Giter VIP home page Giter VIP logo

weighttracker's Introduction

WeightTracker

A simple daily weight tracker based on PHP and Bootstrap, communicating with the server side using AJAX

The intention of this application is to provide a weight tracking solution that is slightly less unwieldy than a forever-growing spreadsheet. The main goal is for this to perform very quickly even if the database has several years worth of data in it. It also holds some basic information about you so that it can show you BMI/BMR.

The database technology used by the application is abstracted from the serverside code using the "WeightDAO" Data Access Object interface. The author of this application is maintaining DAOs for both MariaDB and SQLite 3, but you could create your own DAO for whatever backend you like by creating a class that extends "DataAccessObject" and implements "WeightDAO", and then making minor changes to "WeightDatabase"

If you want to make use of SQLite 3 or MariaDB, your PHP installation should have PDO drivers installed for your desired technology.

A simple daily landing page allows you to enter the data for the current day, and another page allows you to view past data, or export it as a CSV.

The app makes use of Google Charts to present a line chart of data.

It is vanilla Javascript and PHP throughout, with the only dependency being Bootstrap 5.3 and Google charts

image

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.