Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.
/ csgo-servers Public archive

A simple web application that keeps track of a set of CS:GO servers and lets users display them filtered by category and tags. This is the REST backend. Work in progress

License

Notifications You must be signed in to change notification settings

marcquark/csgo-servers

Repository files navigation

⚠️ 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.

csgo-servers

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

Installation instructions

General

Clone the repository and run npm install

Forever

I highly recommend using forever to run the app. It automatically restarts when something crashes.

sudo npm install forever -g

App

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.

About

A simple web application that keeps track of a set of CS:GO servers and lets users display them filtered by category and tags. This is the REST backend. Work in progress

Resources

License

Stars

Watchers

Forks

Packages

No packages published