Skip to content

dilanalex/PY-APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • A total of 16 teams played in the first qualifying round, 8 moved to the next round, and so forth until one team was crowned as champion.
  • Each team consists of a coach and 10 players. not all players participate in every game.
  • There are 3 types of users in the system - the league admin, a coach, and a player.
  • All 3 types of users can login to the site and logout. Upon login they will view the scoreboard, which will display all games and final scores, and will reflect how the competition progressed and who won.
  • A coach may select his team in order to view a list of the players on it, and the average score of the team. When one of the players in the list is selected, his personal details will be presented, including - player’s name, height, average score, and the number of games he participated in.
  • A coach can filter players to see only the ones whose average score is in the 90 percentile across the team.
  • The league admin may view all teams details - their average scores, their list of players, and players details.
  • The admin can also view the statistics of the site’s usage - number of times each user logged into the system, the total amount of time each user spent on the site, and who is currently online

Versions

python --version Python 3.9.6

Some Importnant Commands

py -3 -m venv .venv

python manage.py createsuperuser - created super user, root/root

python manage.py migrate
python manage.py makemigrations

django-admin startproject league
django-admin startapp league_api

python manage.py runserver

Run this command for the data migrations
python createFakeData.py

Avaialble APIs

api_test/ - Learning purposes scoreboard/ - Score Board of the League team/ - Get All Team Information team/int:team_id/ - Team by Specific Team ID

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages