1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-20 01:31:34 +02:00

Merge branch 'pr/darkhpp/261-2'

This commit is contained in:
Flam3rboy 2021-08-13 13:08:14 +02:00
commit b1d85653e6
11 changed files with 1446 additions and 9456 deletions

15
README.md Normal file
View File

@ -0,0 +1,15 @@
# Fosscord Server
Consists of:
* HTTP Rest API
* CDN
* Gateway
* RTC
## Dev getting started
1. Install deps: `npm i`
2. TODO: Configure
3. Start the server:
* To run all at once, run `npm start` in root directory.
* To run api, do `npm start` in `api` folder
* To run cdn, do `npm start` in `cdn` folder
* To run gateway, do `npm start` in `gateway` folder

1856
api/package-lock.json generated

File diff suppressed because it is too large Load Diff

3478
cdn/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,6 @@
},
"homepage": "https://github.com/discord-open-source/discord-cdn#readme",
"dependencies": {
"@fosscord/server-util": "^1.3.42",
"@fosscord/util": "file:../util",
"body-parser": "^1.19.0",
"btoa": "^1.2.1",

4252
gateway/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,6 @@
"author": "Fosscord",
"license": "ISC",
"dependencies": {
"@fosscord/server-util": "^1.3.51",
"@fosscord/util": "file:../util",
"ajv": "^8.5.0",
"amqplib": "^0.8.0",

33
package.json Normal file
View File

@ -0,0 +1,33 @@
{
"name": "fosscord-server",
"version": "1.3.52",
"description": "Fosscord server",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc -b .",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fosscord/fosscord-server.git"
},
"keywords": [
"discord",
"fosscord",
"fosscord-server-util",
"discord open source",
"discord-open-source"
],
"author": "Fosscord",
"license": "GPLV3",
"bugs": {
"url": "https://github.com/fosscord/fosscord-server/issues"
},
"homepage": "https://docs.fosscord.com/",
"dependencies": {
"@fosscord/api": "file:api",
"@fosscord/cdn": "file:cdn",
"@fosscord/gateway": "file:gateway"
}
}

1
src/index.js Normal file
View File

@ -0,0 +1 @@
// TODO: start api AND cdn AND gateway

1211
util/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@
"typescript": "^4.3.2"
},
"dependencies": {
"@fosscord/server-util": "^1.3.15",
"../util": "*",
"mediasoup": "^3.7.16",
"node-turn": "^0.0.6",
"ws": "^7.4.6"