Skip to content

uruam/caca.gg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-based application designed to provide a comprehensive scoreboard and player profiles with detailed statistics for a RatMod Clan Arena game server. It allows users to effortlessly access both the overall game statistics and individual player metrics from the last 30 days, enhancing their gaming experience.

Requirement

Node.js ≥ 8.3.0

Python ≥ 3.0.0

Installation

To run the project locally:

Clone the repository

git clone https://github.com/uruam/caca.gg.git

Navigate to the server directory

cd caca.gg/server

Install server dependencies

npm install

Create a .env file in the server directory and add your API_URL environment variable, where the matches.json file is located. For example:

API_URL=https://my-rat-server.com/

Start the server

npm run start

Navigate to the client folder

cd ../client

Install dependencies

npm install

Automatically transcompile and bundle the client code during development whenever source files change

npm run dev

Transcompile and bundle the client code for production deployment

npm run build

Usage

The server will be running locally on port 3000. Access the application by opening a web browser and going to http://localhost:3000.

Code Style

The project utilizes ESLint and Prettier for code linting and formatting. While these tools are integrated into the build process for the client using webpack, the server code needs to be linted separately.

Steps:

After editing the server code, navigate to the server directory

cd server

Run ESLint to check for any code style violations

npm run lint

Resolve any reported issues based on ESLint's recommendations

Credits

icons: RatMod authors

oaquery: Rodent Control

License

This project is licensed under the GPL-2.0 license.

About

Scoreboard for a RatMod CA server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published