Sign inSign up

xaviius/api

By xaviius

•Updated about 7 years ago

TS API

Image
0

3.4K

xaviius/api repository overview

⁠TeamSpeak API

The API to communicate with the MySQL Database. Built on Express.

⁠Build the project with your data

First you need NodeJS⁠ its the runtime. Then go first into the api folder and run npm install it will install all the dependencies.

To customize it to yourself you got one main config.json. This File is important for the TeamSpeak Bot and API.

⁠Run it with Docker

The project was created for Docker. Use the environment variables to customize the Application for yourself. The variables are: SQLhost SQLuser SQLpassword SQLdatabasename tokenrunouttime (30s, 30m, 30h, etc...) runningPort

To run it for example: docker run -e SQLhost='192.168.2.4' -e SQLuser='username' -e SQLpassword='asdfasdf' -e SQLdatabasename='teamspeak' -e tokenrunouttime='30m' -e runningPort=5000 API

Tag summary

Content type

Image

Digest

Size

56.8 MB

Last updated

about 7 years ago

docker pull xaviius/api