Add OAuth backend scaffold

This commit is contained in:
MrDiderot
2026-07-22 22:54:03 +02:00
parent 77d93c4f8d
commit 39a0e35fd2
14 changed files with 2971 additions and 37 deletions

34
backend/package.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "feelaloud-backend",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc -p tsconfig.json",
"start": "node dist/server.js",
"db:init": "psql \"$DATABASE_URL\" -f schema.sql"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"google-auth-library": "^10.9.0",
"helmet": "^8.0.0",
"jose": "^5.9.6",
"jsonwebtoken": "^9.0.2",
"pg": "^8.13.1",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^22.10.2",
"@types/pg": "^8.11.10",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}