5d113c8e

Gym-app

Gym-app

In order to run, start powershell in front-end folder and start react with npm start

start CMD or use terminal in this folder (with run.py), activate venv and run python run.py

WITH TESTFILES FOLDER

There are 2 test files (and a third one that hasn't been used quite yet):

add_test_users simply adds a couple of hardcoded users for testing.

  • For now the email is used as a membership number to login.
  • Run it from main directory (same as app.py) with python -m testfiles.add_test_users

rm_test_users removes ALL USERS FROM DATABASE

  • The intention here is that you add users to test with previous file, then clear database with this one
  • Run it from main directory (same as app.py) with python -m testfiles.rm_test_users