Skip to content

A SPA for coordinating gamified workouts in sports teams.

License

Notifications You must be signed in to change notification settings

lukaselflein/team-train

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sports Training in teams

This project is meant to help coordination and motivation in sports teams. All team members can complete custom-tailored workout plans to claim points, and increase their highscore for bragging rights.

Want to use this project?

  1. Fork/Clone git clone https://github.com/lukaselflein/team-train

  2. Install basics

    We need a python interpreter for the backend, a mongodb server for data storage and npm for the frontend:

    apt-get install python3
    apt-get install mongodb-server    
    apt-get install npm    
  3. Install & run the backend

    Tell the mongodb server which database to use, set a passphrase, and install python packages

    $ cd backend 
    $ echo "JWT_SECRET_KEY='verysecret'" > .env
    $ echo "MONGODB_SETTINGS={'host': 'mongodb://localhost/team_train_db'}" >> .env
    $ export ENV_FILE_LOCATION=.env
    $ python3 -m venv env
    $ source env/bin/activate
    (env)$ pip install -r requirements.txt

    Run the backend server

    $ cd backend     
    $ source env/bin/activate    
    (env)$ python app.py

    Navigate to http://localhost:5000/api/workouts on your browser

  4. Run the client-side Vue app in a different terminal window:

    $ cd frontend
    $ npm install
    $ npm run serve

    Navigate to http://localhost:8080

Contributors

  • Olga - Frontend
  • Lu - Backend
  • Linus - Concepts

About

A SPA for coordinating gamified workouts in sports teams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages