Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Latest commit

 

History

History
45 lines (27 loc) · 2.39 KB

README.md

File metadata and controls

45 lines (27 loc) · 2.39 KB

bigball

Bigball - React app to have fun with friends !!! Try to figure out the games results from the 2018 World Cup in Russia !!!

Web app developed in React, Redux and Nodejs. Database used is a MongoDb instance in mLab.com. Authentication with Google!

Pre-requirements

How to run locally

  • Clone the repository
  • Create a dev.js file inside config folder. This file has the same strucuture than prod.js, however you will use your google and mongodb info. The cookie hash can be anyone you wish!
  • run npm install (or npm i) in root folder and in client folder
  • run npm run dev (to run node and react at same time)
  • your app will run in localhost:3000, before you log in, seed your database with a POST in http://localhost:5000/api/worldcup/seed
  • Log in with google account and enjoy your app. You should go in the database to change your admin flag!
  • Just it !!!

Printscreens

  • Landing page, user must log in using google account.

iu1

  • Ranking page, where the player's points are showed.

iu2

  • Statistics modal, simple but efficient to demontrate how many users and how much $ is in game!

iu3

  • Personal profile page, where the player can see/insert their games. The players can see the other players profile only after the stage is completed (all players send the guesses).

iu4

  • Match modal, to insert the match guesses.

iu5

  • Admin page, where the admin can inform the official match results. Each time a match is updated, the ranking is calculated again.

iu6