Skip to content

FummiTaksi/ttmanagement

Repository files navigation

https://afternoon-badlands-18041.herokuapp.com/

Running with Docker:

docker pull fummitaksi/ttmanagement
docker run -p 3000:3000 fummitaksi/ttmanagement

Build Status

Coverage Status

DATAMALLI: https://yuml.me/f701be4e

Features:

  1. User can sign up to system

Validations:

-User has to have firstname and lastname

-Password Cant be blank

  1. Unique username is generated from user's firstname and lastname

-If someone has same name, numbers added to end of username

  1. User can sign in to system with own account

  2. User can edit own account

  3. User can delete own account

  4. Admin can give another player clubowner status

  5. Admin can remove clubowner status from player

  6. Clubowner can create club

Validations:

-Club can't be created if clubowner is already in a club

  1. Clubowner can add players to own club

Validations:

  • Only players, who don't have club can be added
  1. Player can leave from club

Validations:

  • Clubowner can destroy club only if he is the only player there
  1. 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

  1. Admin can toggle another player's admin status

  2. Admin can toggle another player's clubowner status

About

ROR-Harkkatyö 2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published