Skip to content

nirbhayph/Mongo-Project-FIFA19

Repository files navigation

GoFifa (Built with PHP and MongoDB)

Important Links

Demo

Link to Application Demo: https://gofifa.herokuapp.com

Presentation

Link to Presentation: https://tinyurl.com/gofifa-ppt

Data Crawler

Link to Crawler: https://tinyurl.com/data-crawler

Demo Video

video

Functionalities

  • Customized Search (Multi-Select, Range Slider)
  • Completely Responsive Data-Table
  • Geo Near Querying (Using Mongo and Leaflet.js)
  • Image Storage using GridFS
  • Radar Chart for Player Evaluations
  • Counters and Progress Bars (Player Stats)
  • Position based Rating (Soccer Field View)
  • Live Communication Thread
  • Leaflet Map (Location and Player Details)
  • Direct Text Search
  • Completely Responsive Design

Installation

If you're using Ubuntu on your local machine, and you want to install the prerequisites at first and then add the source, follow the following steps:

Instruction to setup php (apache)

Install Apache

1. sudo apt-get update -y #using the -y option will automatically accept the conditions of the source update
2. sudo apt-get install apache2 -y #install apache
3. sudo systemctl start apache2.service #start apache

Install PHP

1. sudo apt-get install php -y
2. sudo apt-get install -y php-{bcmath,bz2,intl,gd,mbstring,mcrypt,mysql,zip} && sudo apt-get install libapache2-mod-php -y

Start Apache on boot

sudo systemctl enable apache2.service

Finally, restart Apache to allow PHP to run.

systemctl restart apache2.service

To know more visit: https://www.vultr.com/docs/how-to-install-apache-mysql-and-php-on-ubuntu-17-04

Placing and verifying setup for the client files

1. cd /var/www/html
2. mkdir gofifa
3. add the contents of the web folder in the repository to the newly created directory gofifa.
4. run php from web folder
4. visit http://localhost:<YOUR_PORT> in your browser to verify if application has been setup correctly.

Add the mongo data folder to your local machine's mongodb path. Add the PHP scripts from the scripts folder in the repository. (Change path to local php scripts for connecting with mongo in gofifa php files).

Built With:

  • PHP
  • MongoDB
  • Python
  • HTML5
  • Bootstrap 4
  • JavaScript
  • Jquery
  • GitHub
  • Leaflet

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Developers:

Acknowledgements and Mentions:

Screenshots

Geo Near Querying 1

Custom Search View 2

Responsive Data Table 3

Player Statistics Radar Chart
4

Positional Rating (Soccer Field View) 5

Counters
6

Skill Indicators
7

Player Location and Details 8

Anonymous Comments' Section 9

About Player 10