/XSound-WebSocket-Server

WebSocket Server for XSound

Primary LanguageTypeScriptMIT LicenseMIT

XSound WebSocket Server

WebSocket Server for XSound

Setup

Start Server

$ git clone git@github.com:Korilakkuma/XSound-WebSocket-Server.git
$ cd XSound-WebSocket-Server.git

If use Node.js,

$ npm install
$ npm start

If use Go,

$ go env -w GO111MODULE=on
$ go mod init src
$ go mod tidy

Default port number is 8000, if you change any number,

$ PORT=8888 npm start

Development

Use Node.js

Build and Start

$ num run dev
$ npm run lint

or,

$ npm run fix

and, type check

$ npm run type

Use Go

$ go run ./src/main.go 8080  # port number

License

Released under the MIT license