First commit

This commit is contained in:
Elijah R 2024-08-07 17:09:18 -04:00
commit 3341770b6e
22 changed files with 3898 additions and 0 deletions

1
server/README.md Normal file
View file

@ -0,0 +1 @@
# @ntptg/server

16
server/package.json Normal file
View file

@ -0,0 +1,16 @@
{
"name": "@ntptg/server",
"packageManager": "yarn@4.3.1",
"devDependencies": {
"@types/node": "^22.1.0",
"typescript": "^5.5.4"
},
"dependencies": {
"@fastify/websocket": "^10.0.1",
"fastify": "^4.28.1",
"pino": "^9.3.2"
},
"scripts": {
"build": "tsc"
}
}

6
server/src/index.ts Normal file
View file

@ -0,0 +1,6 @@
import pino from "pino";
let logger = pino({
name: "NTPTG"
});

1
server/tsconfig.json Symbolic link
View file

@ -0,0 +1 @@
../tsconfig.json