Rewrite with modern stack

This commit is contained in:
martin 2025-08-22 19:28:05 +02:00
commit 1f1f20ffd6
69 changed files with 17771 additions and 1589 deletions

47
backend/package.json Normal file
View file

@ -0,0 +1,47 @@
{
"name": "@gaplace/backend",
"version": "1.0.0",
"description": "GaPlace backend server with TypeScript, Redis, and WebSocket support",
"main": "dist/server.js",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc",
"start": "node dist/server.js",
"clean": "rm -rf dist",
"type-check": "tsc --noEmit",
"lint": "eslint src --ext .ts",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
"@gaplace/shared": "file:../shared",
"express": "^4.18.2",
"socket.io": "^4.7.4",
"redis": "^4.6.12",
"cors": "^2.8.5",
"helmet": "^7.1.0",
"compression": "^1.7.4",
"express-rate-limit": "^7.1.5",
"jsonwebtoken": "^9.0.2",
"bcryptjs": "^2.4.3",
"uuid": "^9.0.1",
"pg": "^8.11.3",
"dotenv": "^16.3.1",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/cors": "^2.8.17",
"@types/compression": "^1.7.5",
"@types/jsonwebtoken": "^9.0.5",
"@types/bcryptjs": "^2.4.6",
"@types/uuid": "^9.0.7",
"@types/pg": "^8.10.9",
"@types/node": "^20.10.6",
"@types/jest": "^29.5.11",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
}
}