⚠️ This code is outdated and not actively maintained. There may be security vulnerabilities in the code and/or its dependencies. Do not run this thing in production! Feel free to fork and improve it.
A simple web application that keeps track of a set of CS:GO servers and lets users display them filtered by category and tags. Work in progress. v2 is based on loopback
Clone the repository and run npm install
I highly recommend using forever to run the app. It automatically restarts when something crashes.
sudo npm install forever -g
Modify the following files:
- DB credentials in server/datasources.json
- Default admin and editor credentials in server/boot/default-user.js Then simply run the app like so
forever start -l /path/to/csgo-servers.log -a server/server.js
Or if you're not using forever
node .
After you have first launched the app, you need to remove server/boot/default-user.js or it will crash during restart. This is because the default users and roles can only be created once in a persistent datastore. You should also definitely run the app in PRODUCTION environment if you're note developing. Otherwise the API Explorer and debugging will be enabled. They are a potential security risk and also decrease performance.