installazione nodejs typescript express etc...
Some checks failed
Deploy to VPS / build (push) Failing after 13s
Deploy to VPS / deploy (push) Has been skipped

This commit is contained in:
AV77web 2026-06-20 23:46:53 +02:00
parent 9694e879f1
commit 0bc4c7d81b
3 changed files with 1807 additions and 0 deletions

1759
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

32
package.json Normal file
View file

@ -0,0 +1,32 @@
{
"name": "corrieribackend",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "ssh://git@forgejo.andreavillari.it:2222/andrea/corrieribackend.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"@auth/express": "^0.12.2",
"bcryptjs": "^3.0.3",
"cors": "^2.8.6",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"mysql2": "^3.22.5"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^26.0.0",
"tsx": "^4.22.4",
"typescript": "^6.0.3"
}
}

16
tsconfig.json Normal file
View file

@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCaslignInFileNames": true,
"resolveJsonModule": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}