- 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> |
||
---|---|---|
.idea | ||
src | ||
.gitignore | ||
CLAUDE.md | ||
next.config.js | ||
package-lock.json | ||
package.json | ||
postcss.config.mjs | ||
README.md | ||
tsconfig.json |
Photos Gallery
A Next.js application for displaying and organizing photos.
Prerequisites
macOS CIFS Share Access
If you're running this application on macOS and accessing photos from a mounted CIFS share, you'll need to grant your terminal application full disk access:
- Open System Preferences → Security & Privacy → Privacy
- Select Full Disk Access from the left sidebar
- Click the lock icon and enter your password to make changes
- Click the + button and add your terminal application (e.g., Terminal.app, iTerm2, etc.)
- Restart your terminal application
This is required because macOS restricts access to network-mounted drives without explicit permission.
Getting Started
npm install
npm run dev
Open http://localhost:3000 in your browser.