add cache to auth

This commit is contained in:
2025-01-24 19:24:27 +05:30
parent 59ce61d3a6
commit 405338c314
8 changed files with 125 additions and 67 deletions

View File

@@ -5,7 +5,8 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc -p tsconfig.json",
"start": "tsc -w & node --watch --env-file=.env dist/index.js"
"start": "tsc -w & node --watch --env-file=.env dist/index.js",
"load_test": "export $(cat .env | xargs) && k6 run ./test/loadTest.js"
},
"keywords": [],
"author": "",
@@ -22,12 +23,14 @@
"fastify": "^5.2.0",
"fastify-type-provider-zod": "^4.0.2",
"fastify-zod": "^1.4.0",
"lru-cache": "^11.0.2",
"mongoose": "^8.9.0",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/node": "^22.10.2",
"k6": "^0.0.0",
"typescript": "^5.7.2"
}
}