-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
47 lines (44 loc) · 1.94 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import dotenv from "dotenv";
dotenv.config();
const BASE_URI = process.env.BASE_URI;
const MONGO_USERNAME = process.env.MONGO_USERNAME;
const MONGO_PASSWORD = process.env.MONGO_PASSWORD;
export const config = { // This is the config file for the RevoAPI. You can change the port, the timeout, and the application name, version, description, and owners.
application: {
name: "RevochatAPI",
version: "1.2.0",
description: `Revochat is a chat application that allows you to chat with your friends securely and privately.
Let's hope one day we can make it big!
`,
owners : [
"ByLife",
"Thomas78125",
"Lux",
],
},
properties : {
port: Number(process.env.APP_PORT) || 3000,
readyEventTimeout: 500,
},
mongo: {
username: MONGO_USERNAME,
url: (process.env.MONGO_URL?.replace("<USERNAME>", MONGO_USERNAME!).replace("<PASSWORD>", MONGO_PASSWORD!))!,
},
api : {
url : BASE_URI,
version : "0.6.9",
},
ascii: {
art: `
_______ __ __
/ \ / | / |
$$$$$$$ | ______ __ __ ______ _______ $$ |____ ______ _$$ |_
$$ |__$$ | / \ / \ / |/ \ / |$$ \ / \ / $$ |
$$ $$< /$$$$$$ |$$ \ /$$//$$$$$$ |/$$$$$$$/ $$$$$$$ | $$$$$$ |$$$$$$/
$$$$$$$ |$$ $$ | $$ /$$/ $$ | $$ |$$ | $$ | $$ | / $$ | $$ | __
$$ | $$ |$$$$$$$$/ $$ $$/ $$ \__$$ |$$ \_____ $$ | $$ |/$$$$$$$ | $$ |/ |
$$ | $$ |$$ | $$$/ $$ $$/ $$ |$$ | $$ |$$ $$ | $$ $$/
$$/ $$/ $$$$$$$/ $/ $$$$$$/ $$$$$$$/ $$/ $$/ $$$$$$$/ $$$$/
`
}
}