Go to file
Michael Mainguy 31784d91b2 Add SQLite database and directory management system
- 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>
2025-08-26 14:26:55 -05:00
.idea Initial Next.js photo gallery application 2025-08-26 13:24:38 -05:00
src Add SQLite database and directory management system 2025-08-26 14:26:55 -05:00
.gitignore Add SQLite database and directory management system 2025-08-26 14:26:55 -05:00
CLAUDE.md Initial Next.js photo gallery application 2025-08-26 13:24:38 -05:00
next.config.js Initial Next.js photo gallery application 2025-08-26 13:24:38 -05:00
package-lock.json Add SQLite database and directory management system 2025-08-26 14:26:55 -05:00
package.json Add SQLite database and directory management system 2025-08-26 14:26:55 -05:00
postcss.config.mjs Initial Next.js photo gallery application 2025-08-26 13:24:38 -05:00
README.md Improve directory modal with keyboard navigation and README 2025-08-26 14:03:36 -05:00
tsconfig.json Initial Next.js photo gallery application 2025-08-26 13:24:38 -05:00

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:

  1. Open System PreferencesSecurity & PrivacyPrivacy
  2. Select Full Disk Access from the left sidebar
  3. Click the lock icon and enter your password to make changes
  4. Click the + button and add your terminal application (e.g., Terminal.app, iTerm2, etc.)
  5. 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.