https://afternoon-badlands-18041.herokuapp.com/
Running with Docker:
docker pull fummitaksi/ttmanagement
docker run -p 3000:3000 fummitaksi/ttmanagement
DATAMALLI: https://yuml.me/f701be4e
Features:
- User can sign up to system
Validations:
-User has to have firstname and lastname
-Password Cant be blank
- Unique username is generated from user's firstname and lastname
-If someone has same name, numbers added to end of username
-
User can sign in to system with own account
-
User can edit own account
-
User can delete own account
-
Admin can give another player clubowner status
-
Admin can remove clubowner status from player
-
Clubowner can create club
Validations:
-Club can't be created if clubowner is already in a club
- Clubowner can add players to own club
Validations:
- Only players, who don't have club can be added
- Player can leave from club
Validations:
- Clubowner can destroy club only if he is the only player there
- Admin can add matches between other players
Validations:
-Match has to be between different players who belong in a club
-Match's score has to be valid
-
Admin can toggle another player's admin status
-
Admin can toggle another player's clubowner status