- Add Express.js backend with REST API - Implement comprehensive security measures (helmet, rate limiting, input validation) - Add Docker volume support for persistent JSON storage - Update container security (non-root user, minimal Alpine) - Add deployment and security documentation - Configure production-ready Docker setup with Coolify compatibility 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
907 B
JSON
35 lines
907 B
JSON
{
|
|
"name": "reading-goal-app",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "concurrently \"npm run server\" \"vite\"",
|
|
"server": "node server/index.js",
|
|
"build": "vite build",
|
|
"preview": "vite preview --host 0.0.0.0 --port 5173",
|
|
"start": "node server/index.js"
|
|
},
|
|
"dependencies": {
|
|
"lucide-react": "^0.452.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"express": "^4.18.2",
|
|
"cors": "^2.8.5",
|
|
"helmet": "^7.1.0",
|
|
"express-rate-limit": "^7.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.45",
|
|
"@types/react-dom": "^18.2.18",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"@types/express": "^4.17.21",
|
|
"@types/cors": "^2.8.17",
|
|
"autoprefixer": "^10.4.18",
|
|
"postcss": "^8.4.33",
|
|
"tailwindcss": "^3.4.9",
|
|
"typescript": "^5.5.4",
|
|
"vite": "^5.3.4",
|
|
"concurrently": "^8.2.2"
|
|
}
|
|
} |