## Features Added: - **Automatic Documentation Generation**: Uses next-swagger-doc to scan API routes - **Interactive Swagger UI**: Try-it-out functionality for testing endpoints - **OpenAPI 3.0 Specification**: Industry-standard API documentation format - **Comprehensive Schemas**: Type definitions for all request/response objects ## New Documentation System: - `/docs` - Interactive Swagger UI documentation page - `/api/docs` - OpenAPI specification JSON endpoint - `src/lib/swagger.ts` - Documentation configuration and schemas - Complete JSDoc examples for batch classification endpoint ## Documentation Features: - Real-time API testing from documentation interface - Detailed request/response examples and schemas - Parameter validation and error response documentation - Organized by tags (Classification, Captioning, Tags, etc.) - Dark/light mode support with loading states ## AI Roadmap & Guides: - `AIROADMAP.md` - Comprehensive roadmap for future AI enhancements - `API_DOCUMENTATION.md` - Complete guide for maintaining documentation ## Benefits: - Documentation stays automatically synchronized with code changes - No separate docs to maintain - generated from JSDoc comments - Professional API documentation for integration and development - Export capabilities for Postman, Insomnia, and other tools 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
---|---|---|
.idea | ||
src | ||
.gitignore | ||
AIROADMAP.md | ||
API_DOCUMENTATION.md | ||
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.