Switch from express to fastify (#16)

* Switch from express to fastify

* Use zod validation for api routes

* Fix type in password reset routes

* Use string as data type for bigint because of serialization issues

* Fix use of user id instead of account id for some file operations
This commit is contained in:
Hakan Shehu
2025-04-30 11:07:58 +02:00
committed by GitHub
parent d52a8972cc
commit 412a396b28
115 changed files with 3892 additions and 3050 deletions

View File

@@ -19,9 +19,6 @@
},
"description": "",
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^5.0.1",
"@types/multer": "^1.4.12",
"@types/node": "^22.14.1",
"@types/nodemailer": "^6.4.17",
"@types/pg": "^8.11.13",
@@ -35,6 +32,8 @@
"@aws-sdk/s3-request-presigner": "^3.787.0",
"@colanode/core": "*",
"@colanode/crdt": "*",
"@fastify/multipart": "^9.0.3",
"@fastify/websocket": "^11.0.2",
"@langchain/core": "^0.3.46",
"@langchain/google-genai": "^0.2.4",
"@langchain/langgraph": "^0.2.65",
@@ -42,20 +41,18 @@
"@node-rs/argon2": "^2.0.2",
"axios": "^1.8.4",
"bullmq": "^5.49.2",
"cors": "^2.8.5",
"diff": "^7.0.0",
"dotenv": "^16.5.0",
"express": "^5.1.0",
"fastify": "^5.3.2",
"fastify-type-provider-zod": "^4.0.2",
"handlebars": "^4.7.8",
"js-sha256": "^0.11.0",
"kysely": "^0.28.1",
"langchain": "^0.3.23",
"langfuse-langchain": "^3.37.2",
"multer": "^1.4.5-lts.2",
"nodemailer": "^6.10.1",
"pg": "^8.15.1",
"redis": "^4.7.0",
"sharp": "^0.34.1",
"ws": "^8.18.1"
"sharp": "^0.34.1"
}
}