- Add session-based authentication system - Implement admin CRUD endpoints for properties, leads, testimonials, FAQ, services - Fix security issue: remove public GET /api/leads endpoint - Add basic input validation for leads endpoint - Add global error handler - Fix Docker healthcheck using bun's fetch - Add @types/bcrypt dependency - Add .dockerignore - Add host reboot prohibition to global rules
24 lines
639 B
JSON
24 lines
639 B
JSON
{
|
|
"name": "tenerifeprop",
|
|
"version": "1.0.0",
|
|
"description": "Real Estate Agency Website for Tenerife Island",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun run --watch src/server/index.ts",
|
|
"start": "bun run src/server/index.ts",
|
|
"db:init": "bun run src/db/init.ts",
|
|
"db:seed": "bun run src/db/seed.ts",
|
|
"build": "bun build ./src/server/index.ts --outdir ./dist --target bun",
|
|
"test": "bun test"
|
|
},
|
|
"dependencies": {
|
|
"hono": "^4.0.0",
|
|
"bcrypt": "^5.1.0",
|
|
"uuid": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^6.0.0",
|
|
"@types/bun": "latest",
|
|
"typescript": "^5.3.0"
|
|
}
|
|
} |