Skip to content

dcaminos/csgo-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to CS:GO server stats 👋

Check out our web site!!

This is a simple project to render counter strike global offensive stats from our server. To do that, I did 3 differents sub projects:

Script

Parse server logs and upload the data to my firebase realtime database. I added some log samples on /data folder.

Example

cd script
yarn install
node script.js ../data/

Functions

This folder contain a firebase cloud function. You need configure a firebase project to deploy it. Only one function is needed to read all data and create the ranking list.

Example

firebase deploy --only functions

Web

React application to render ranking, matches and a balancer to create teams based on the current ranking. This application use redux to store the current state.

To run

cd web
yarn install
yarn start

To deploy

cd web
yarn build
cd ..
firebase deploy --only hosting