GithubHelp home page GithubHelp logo

niceqwer55555 / cso2-users-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from l-leite/cso2-users-service

0.0 0.0 0.0 706 KB

MOVED TO https://github.com/L-Leite/cso2-master-server .Users service for a CSO2 master server

License: MIT License

JavaScript 3.45% RAML 10.90% TypeScript 81.93% Dockerfile 0.18% Shell 1.30% TSQL 0.38% SQLPL 1.86%

cso2-users-service's Introduction

cso2-users-service

Build status

User service for a Nexon's Counter-Strike: Online 2 master server written in Typescript on top of Node.js.

You can find download and build scripts in cso2-master-services.

Building

After downloading the source code, go to a terminal instance, inside the source code's directory and:

npm install # installs the required dependencies
gulp build # builds the service

Starting the service

You can start the user service with:

# environment variables
export USERS_PORT=30100 # tells the service to host on port 30100
export DB_HOST=127.0.0.1 # the host's database to connect
export DB_PORT=27017 # the host's database port to connect
export DB_NAME=cso2 # the database's name

# starts the service
node dist/service.js

You must set those environment variables, or the service will not start.

Testing the service

You can test the service by running:

# environment variables
export USERS_PORT=30100 # tells the service to host on port 30100
export DB_HOST=127.0.0.1 # the host's database to connect
export DB_PORT=27017 # the host's database port to connect
export DB_NAME=cso2 # the database's name

# tests the service
gulp test

License

cso2-users-service is licensed under MIT License.

This project is not affiliated with either Valve or Nexon.

cso2-users-service's People

Contributors

l-leite avatar dounai2333 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.