- Integrated express-basic-auth middleware in index.js to secure non-GET routes with basic authentication. - Updated libraryManager.py to use HTTPBasicAuth for API requests, enhancing security for book management operations. - Modified public/index.html to improve the user interface with a new search feature and dynamic book table. - Removed obsolete public/library.html file to streamline the project structure. - Updated package.json and package-lock.json to include express-basic-auth as a new dependency.
27 lines
531 B
JSON
27 lines
531 B
JSON
{
|
|
"name": "bookscanner",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"dev": "nodemon index.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"axios": "^1.7.5",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.19.2",
|
|
"express-basic-auth": "^1.2.1",
|
|
"express-rate-limit": "^7.4.1",
|
|
"nodemailer": "^6.9.16",
|
|
"sequelize": "^6.37.3",
|
|
"sqlite3": "^5.1.7"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^3.1.7"
|
|
}
|
|
}
|