q3-server-docker-rest-api
QUAKE3 Server w/ WebUI
Backend forQuake 3 rest API w/ websocket for interacting with RCON.
Main Libs
- Socket.io
- Babel.js with ES2015 preset
- ESLint
- node-watch
- scaffolded from palanik/node-es6-starter
Coding style
Airbnb has an excellent style guide for ES6. We will follow the guide and adhere to the recommended coding style.
Quick Start
-
Make sure you have recent, stable version of node (>= 8.1.0).
nave use stable node -v
-
Clone or download this repo.
-
Get latest releases of the tools
npm update --save
Commands
Lint
npm run lint
Build
npm run build
Run
ES6 code via babel
npm run watch
npm run dev
ES5 code (Transpiled)
npm run build
node lib/
or
npm start
Code Directories
./src - source code, stays in git repo.
./lib - transpiled ES5 code, not saved in git, gets published to npm.