- Install better-sqlite3 for embedded SQLite support - Create complete database schema with photos, albums, tags, directories tables - Add PhotoService class with full CRUD operations and relationships - Create comprehensive API endpoints for photos, albums, directories, and stats - Add DirectoryList component with delete functionality and visual feedback - Implement directory saving to database when user selects path - Add automatic refresh of directory list when new directories are saved - Update Button component with enhanced enabled/disabled states and animations - Add Tab key handling to hide suggestions in directory modal - Update .gitignore to exclude SQLite database files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
774 B
JSON
35 lines
774 B
JSON
{
|
|
"name": "photos",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"@tabler/icons-react": "^3.34.1",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"better-sqlite3": "^12.2.0",
|
|
"glob": "^11.0.3",
|
|
"next": "^15.5.0",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.12",
|
|
"@types/node": "^24.3.0",
|
|
"@types/react": "^19.1.11",
|
|
"@types/react-dom": "^19.1.8",
|
|
"autoprefixer": "^10.4.21",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.12",
|
|
"typescript": "^5.9.2"
|
|
}
|
|
}
|