GithubHelp home page GithubHelp logo

ramkumar96 / django-bms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rajhiren/django-bms

0.0 1.0 0.0 8.91 MB

Django Basketball Managment System Tech Test

License: Apache License 2.0

Dockerfile 0.47% Python 71.86% CSS 3.29% HTML 24.38%

django-bms's Introduction

Django Basketball Managment System

Description of Project

You were hired by a basketball league to develop a management system to monitor games statistics and rankings of a recent tournament. 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. (i.e. logged into the site)

Notes:

  • The project should be developed using Django on the server side and Angular/Django Template on the Front-end.
  • We expect you to create the supporting models, business logic and views.
  • Please create a management command to generate fake users of all types with all the needed relations, and activities OR create a fixture to generate fake data.

Prerequisites:

  • Docker & docker-compose
  • git

SetUp

  docker-compose up --build
  docker-compose exec web python manage.py init_bms_data

Urls

Note : Default password for everything is `mydemo`

    Admin : 
        Url  :  http://0.0.0.0:8000/admin/
        User :  mydemo
        pswd :  mydemo

    BMS : 
        Url  :  http://0.0.0.0:8000/login/
        User :  mydemo
        pswd :  mydemo

    PGAdmin : 
        Url  :  http://localhost:8080/browser/
        User :  mydemo
        pswd :  mydemo

Login in PGAdmin and create super admin account. ( Forgive me for not automating this)

Assumptions

  • all player height will be in Centimeters
  • all username will be Email

screenshots

alt text alt_text alt_text alt_text alt_text alt_text alt_text alt_text alt_text

django-bms's People

Contributors

rajhiren avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.