This commit is contained in:
2026-03-18 15:44:11 +07:00
commit 6b69d4f64c
21 changed files with 1237 additions and 0 deletions

49
backend/package.json Normal file
View File

@@ -0,0 +1,49 @@
{
"name": "pg-admin-backend",
"version": "1.0.0",
"description": "PostgreSQL Admin Panel Backend API",
"main": "src/index.js",
"type": "module",
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"scripts": {
"start": "node src/index.js",
"dev": "nodemon src/index.js",
"test": "jest --coverage",
"test:watch": "jest --watch",
"lint": "eslint src --fix",
"format": "prettier --write 'src/**/*.js'"
},
"keywords": [
"postgresql",
"admin",
"database",
"management"
],
"author": "",
"license": "MIT",
"dependencies": {
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"pg": "^8.9.0",
"dotenv": "^16.0.3",
"bcryptjs": "^2.4.3",
"jsonwebtoken": "^9.0.0",
"cors": "^2.8.5",
"helmet": "^7.0.0",
"express-rate-limit": "^6.7.0",
"joi": "^17.9.0",
"winston": "^3.8.2",
"axios": "^1.4.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"nodemon": "^3.0.1",
"eslint": "^8.54.0",
"prettier": "^3.1.0",
"jest": "^29.7.0",
"supertest": "^6.3.3"
}
}