
- Updated `.env` and `.env.test` files to include PostgreSQL connection settings and Redis configuration. - Migrated database from SQLite to PostgreSQL, updating relevant queries and connection logic. - Enhanced error handling and logging throughout the application. - Added new test utilities for PostgreSQL integration and updated user model methods. - Introduced new routes for user authentication and form management, ensuring compatibility with the new database structure. - Created login and registration views in EJS for user interaction.
45 lines
1015 B
JSON
45 lines
1015 B
JSON
{
|
|
"name": "formies",
|
|
"version": "1.0.0",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"test": "NODE_ENV=test jest --runInBand --detectOpenHandles --forceExit",
|
|
"test:watch": "NODE_ENV=test jest --watch",
|
|
"start": "node server.js",
|
|
"dev": "nodemon server.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"basic-auth": "^2.0.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"connect-redis": "^8.1.0",
|
|
"dotenv": "^16.5.0",
|
|
"ejs": "^3.1.10",
|
|
"express": "^5.1.0",
|
|
"express-rate-limit": "^7.1.5",
|
|
"express-session": "^1.17.3",
|
|
"express-validator": "^7.0.1",
|
|
"helmet": "^8.1.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"nodemailer": "^6.9.8",
|
|
"passport": "^0.7.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"passport-local": "^1.0.0",
|
|
"pg": "^8.16.0",
|
|
"rate-limit-redis": "^4.2.0",
|
|
"redis": "^4.7.0",
|
|
"resend": "^4.5.1",
|
|
"sqlite3": "^5.1.7",
|
|
"uuid": "^11.1.0",
|
|
"winston": "^3.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"nodemon": "^3.0.2",
|
|
"supertest": "^7.0.0"
|
|
}
|
|
}
|