Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
/ trainings-log Public archive

Website to log workouts in a quite flexible way. The target is a visual appealing page to track your workouts/weight in a flexible and efficient way. Stopped working on it, but still using it to track my weight and exercises if I exercise...

License

Notifications You must be signed in to change notification settings

Drazhar/trainings-log

Repository files navigation

Trainings-log

This should be a webpage for tracking your workouts and weight.

Why another workout log?!

Because I wanted a training log which can be used comfortable on mobile and desktop and is flexible enough for logging my workouts, which are mainly body weight training for rock climbing. Most apps I found for this where either only for mobile or to much into training with weights or running. I couldn't find one which I liked. Also I want to improve my coding skills.

WIP

This readme has still to be created 😓

Deployment/Development

To run the code you first need to create an .env file in the main directory with the following variables:

DB_ADDRESS=192.168.0.4  # Address of the postgreSQL server
DB_PORT=5432            # Port of the postgreSQL server
DB_USERNAME=postgres    # Username for the postgreSQL database
DB_PASS=example         # Password of the postgreSQL database
DB_NAME=trainings_app   # Database name of the data

If this file is created there are 2 methods to test the app:

Development

  1. Run a database server. Currently this is done with docker, but I need to create a dummy dump file of the database to populate is with some data. #12
  2. npm run node to start nodemon for the backend
  3. npm start to start the webpack dev server for the frontend

Production

  1. npm run build to build the frontend code to the static folder
  2. docker-compose up -d to run the postgreSQL server and nodeJS backend which will serve the client with the HTML/JS/CSS and the API.

About

Website to log workouts in a quite flexible way. The target is a visual appealing page to track your workouts/weight in a flexible and efficient way. Stopped working on it, but still using it to track my weight and exercises if I exercise...

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages