First commit
This commit is contained in:
commit
3341770b6e
22 changed files with 3898 additions and 0 deletions
1
server/README.md
Normal file
1
server/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# @ntptg/server
|
||||
16
server/package.json
Normal file
16
server/package.json
Normal 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
6
server/src/index.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import pino from "pino";
|
||||
|
||||
let logger = pino({
|
||||
name: "NTPTG"
|
||||
});
|
||||
|
||||
1
server/tsconfig.json
Symbolic link
1
server/tsconfig.json
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../tsconfig.json
|
||||
Loading…
Add table
Add a link
Reference in a new issue