Files
CollabTable/CollabTableServer/package.json
T
Gabriel20xx b150d835a1
Server CI / Lint (push) Successful in 19s
Server CI / Build & Push Docker Image (push) Failing after 44s
feat(auth): implement session-based authentication and API token management
- Introduced a new authentication system using session cookies for the web dashboard and API tokens for sync clients.
- Replaced the old SERVER_PASSWORD scheme with a more secure API token mechanism.
- Added routes for user setup, login, logout, and credential updates.
- Implemented middleware to require session and API token for protected routes.
- Updated web UI to handle authentication states and provide user feedback.
- Enhanced error handling in API requests and responses.
- Updated README to reflect new authentication flow and database requirements.
2026-08-01 12:51:02 +02:00

41 lines
1.2 KiB
JSON

{
"name": "collabtable-server",
"version": "1.0.0",
"description": "Collaborative list management server",
"main": "dist/index.js",
"scripts": {
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"build": "tsc",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"**/*.{ts,js,json,md,yml,yaml}\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": ["collaboration", "api", "express"],
"author": "",
"license": "MIT",
"dependencies": {
"express": "^4.18.2",
"cors": "^2.8.5",
"cookie-parser": "^1.4.6",
"bcryptjs": "^2.4.3",
"dotenv": "^16.3.1",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.3.3",
"pg": "^8.11.3"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/cors": "^2.8.17",
"@types/cookie-parser": "^1.4.7",
"@types/bcryptjs": "^2.4.6",
"@types/node": "^20.10.6",
"@types/pg": "^8.10.2",
"typescript": "5.5.4",
"ts-node-dev": "^2.0.0"
}
}