Vitu-77 / quake-arena-log-parser

A simple parser for the Quake 3 Arena game's log.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quake 3 Arena Parser

The objective of this little project is create a basic API that manipulate the .log file of the game Quake 3 Arena and provide routes to get some infos about the .log file.

Installation

Clone the repository, navigate into the downloaded folder and install the dependencies using one of the following commands:

Yarn

yarn

npm

npm install

Development setup

To run the project use one of the following scripts:

  • start:dev - Start the development server;
  • start:prod - Start the development server;
  • test - Run tests;

Edit .prettierrc.js if you want to change some the way like identation works (only care about this is you're using Prettier).

Usage

Endpoints:

  • (GET) - "/games" - Return all games in the .log file
  • (GET) - "/game/:id" - Return a game containing the provided ID
  • (GET) - "/ranking" - Return the ranking of all players by kills


Quake 3 Arena is a trademark of id Software

About

A simple parser for the Quake 3 Arena game's log.

License:MIT License


Languages

Language:JavaScript 100.0%