8000 GitHub - jospf/WorkOutWebApp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jospf/WorkOutWebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workout Tracker API

A simple Flask + SQLite API for tracking workouts.
Designed to run locally or inside a Docker container for easy deployment to a NAS or cloud server.


Features

  • Add new exercises (name, sets, reps)
  • Retrieve list of all logged exercises
  • Automatically timestamps each entry
  • Lightweight, portable, and easy to expand

Requirements

  • Python 3.8+
  • Flask
  • SQLite (comes built-in with Python)

Getting Started

  1. Clone the repository:

    git clone [your repo url]
    cd WorkOutWebApp
  2. Create a Python virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate
  3. Install dependencies:

    pip install flask
  4. Run the application:

    python app.py
  5. The server will start on http://localhost:5000/.


API Endpoints

GET /

Returns a simple message to confirm the server is running.

POST /add

Adds a new exercise.

Request body:

{
  "name": "Push-up",
  "sets": 3,
  "reps": 15
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0