mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 18:32:29 +01:00
Mirror of https://github.com/spacebarchat/server
.vscode | ||
client_test | ||
locales | ||
src | ||
.DS_Store | ||
.gitignore | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Discord Open Source Server
This repository contains the HTTP API Server and the WebSocket Gateway Server
Bug Tracker
API
For the WebSocket we use ws and we'll write our own packet handler for the individual opcodes and events.
Gateway
We use express for the HTTP Server and lambert-server for route handling and body validation (customized).
Contribution
You should be familiar with:
- Git
- NodeJS
- TypeScript
- Lambert-DB (easy database abstraction wrapper)
and the technologies we use for Gateway/API
Getting Started
Clone the Repository:
git clone https://github.com/discord-open-source/discord-server
cd discord-server
Install (dev)dependencies:
npm install
npm install --only=dev
Starting:
npm start
Debugging:
Vscode:
The Launch file configuration is in ./vscode/launch.json
,
so you can just debug the server by pressing F5
or the > Launch Server
button