- Created DATABASE_BACKUP_SETUP.md for detailed backup instructions - Implemented backup-databases.sh for automated database backups - Added logrotate configuration for managing backup logs - Developed setup scripts for user-specific backup configurations - Included error handling and logging in backup processes - Established cron job setup for automated backups - Provided examples and troubleshooting tips in documentation
42 lines
991 B
JSON
42 lines
991 B
JSON
{
|
|
"name": "tilbudgivern-backend",
|
|
"version": "1.0.0",
|
|
"description": "Backend for AI-baseret tilbudsberegner",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"dev": "nodemon unified-server.js",
|
|
"start": "node unified-server.js",
|
|
"build": "echo 'No build step needed for Node.js'",
|
|
"test": "jest"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.12.2",
|
|
"cheerio": "^1.0.0-rc.12",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"graphql": "^16.8.1",
|
|
"graphql-request": "^6.1.0",
|
|
"helmet": "^7.1.0",
|
|
"joi": "^17.11.0",
|
|
"multer": "^2.0.2",
|
|
"mysql2": "^3.14.5",
|
|
"openai": "^4.20.1",
|
|
"pdf-parse": "^1.1.1",
|
|
"pdf2pic": "^3.2.0",
|
|
"rate-limiter-flexible": "^2.4.1",
|
|
"sharp": "^0.34.3",
|
|
"tesseract.js": "^6.0.1",
|
|
"undici": "^5.28.4",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"nodemon": "^3.0.2",
|
|
"supertest": "^6.3.3"
|
|
}
|
|
}
|