Skip to content

santoyoalfredo/barca

Repository files navigation

Football Statistics Project

This project is a web application for comparing statistical data for football (soccer) players, teams, etc. While primarily focused on FC Barcelona the project is generic and can be applied to any or multiple teams.

The project is currently being developed in the dev branch until proper testing is done for base version features. You can see the progress in the projects page.

The application is built using Python as the core language and the Django framework for the front-end and back-end. Bootstrap and a bit of Javascript are used for the front-end. At the moment testing is done through unit and integration tests and are run using TravisCI. System testing through Selenium is planned for a later time. Codecov is used to monitor code coverage from the written tests.

A live version of the application is hosted on Heroku and is available to demo: https://soccerstatistics.herokuapp.com

Master branch stats:

Dev branch stats (latest build):

Motivations

I decided to work on this project since I was able to combine my interests in sports and software development. Building this application will allow me to further enhance my current knowledge and add to my skillset as I work with more technologies. In the end I would also like to involve statistical and correlation analysis and possibly generate predictions based on existing data sets.

Installation

  • Clone the repository
  • Install Python with pip
  • Install virtualenv and create a virtual environment (suggested)
  • pip install requirements.txt

Usage

  • Create user and database using PostgreSQL
  • python manage.py migrate
  • python manage.py runserver

Features

Competitions

Competitions can be browsed and a season can be selected for more information.

Seasons

The Seasons page offers a view of the standings as well as the ability to see detailed information about fixtures for the selected season.

Fixtures

Selecting a fixture will allow you to see detailed information about the fixture as well as available statistics* for players of the teams involved.

*Feature still in development

Players

The Players page shows a general overview of various players with more detailed information to be aggregated in their respective pages*.

*Feature still in development

Statistics

Feature still in development

Credits

Images seen in the above demo screenshots are used only for demonstrational purposes and are not distributed in the source code. Any competition logos, club emblems or crests, stadium pictures, and player portraits belong to their respective owners.

License

To-do