Loading repository data…
Loading repository data…
lucys18 / repository
A full-stack athlete/workout management app. Architected as a multi-container system (Docker Compose & Nginx) with a Python API, PostgreSQL DB, and standalone frontend.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Training App is an app for a coach to plan athletes' workouts. The coach is able to add, delete and update workouts from the workout library. The coach can also manage athletes profiles, as well as assigned workouts to athletes on specific dates.
pip install requests. This library is used to load some example data to the app.make run
Open localhost:80 in your browser.
make test
make clean
python example_data/script.py
example_date/http_requests.sh shows some examples.The app consists of four containers which interact with each other as shown below.
The database container runs a PostgreSQL database. The api container handles http requests and queries the data from the database. The frontend container is in charge of rendering all frontend related requests. The nginx container works as a reverse proxy server, directing client requests to the frontend or api as appropriate. The nginx container runs in port 80.
The database schema is shown below. Workouts can have none, one or more intervals, which are the ones that describe the workout structure. Also athletes have none, one or more workouts assigned on a certain date.
Some functionalities are still unavailable through the UI.
Created by Lucía Sanahuja on October, 2022.