Git Product home page Git Product logo

sportscorner's Introduction

Sports Corner

Link of GitHub repository of the implementation : https://github.com/MdSiamAnsary/SportsCorner

Demo Video(s) of Implementation

A simple demo video is available at [LINK]

Project Aspects

  • In this web project, the current league standings of the top five European football leagues are displayed. The leagues are
    • La Liga
    • English Premier League
    • Bundesliga
    • Ligue 1
    • Serie A
  • One has to be a registered user and be logged in to be able to use the system.

Implementation description

Registration and Log in

To be able to use the system, one has to register with the system and be logged in.

To register, one has to provided four pieces of information on mandatory basis. They are

  • Username Username can be of length between 6 and 20
  • Email Email has to be valid
  • Password Password can be of length between 6 and 10.
  • Gender Gender should be selected properly.

Username, email and password need to be unique.

To log in, one has to provided a valid registered Email and Password that are both associated with one account.

Being in the system

Session has been used, so that, only logged in users can use the system.

Display of League tables with information

  • Home page After log in, user goes to home page. In the home page, the top four teams of the league tables of five leagues are displayed from last updated information.
  • Individual League pages For each of the five leagues, there are individual webpages. In each of them, current updated full league table is shown with the information about qualifying for UEFA Champions League and rules of promotion and relegation.

Navigation and Logging out

From any of the individual league pages or from home page, user can go to any of the pages or log out.

Storing registered users' information

XAMPP has been used to store the users' information. MySQL (XAMPP) has been used for database operation. A database has been created named sportscornerdb on phpMyAdmin. The database has one table and it is userstable. From the SQL files in the repository, the structure of the table can be understood.

Getting the current league standings

To retrieve the current league standings, a Python package has been used.
The python package is (soccer-data-api 0.5).

Using PHP and Python together

Python scripts have been run from PHP source codes. For this, XAMPP needs to be configured. In the httpd.conf file, AddHandler cgi-script .cgi .pl .asp .py needs to be there instead of AddHandler cgi-script .cgi .pl .asp and in the first line of every Python script, the place where Python is installed needs to be mentioned. So, if Python application file is in the folder J:/WinPython/WPy64-3740/python-3.7.4.amd64 , the first line of Python script should be #!J:/WinPython/WPy64-3740/python-3.7.4.amd64/python.

sportscorner's People

Contributors

mdsiamansary avatar

Watchers

 avatar

Forkers

umeshekh

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.