### Issue Title: *Create CRUD operations for Photos table* --- **Description** - Implement CRUD operations for the `photo` table. - Needed for managing photos within albums, allowing users to upload, view, and remove photos. --- **Task List** - [ ] Step 1: Create the `POST /photos` route to add a new photo. - [ ] Step 2: Create the `GET /photos/{id}` route to retrieve photo details by `id`. - [ ] Step 3: Create the `DELETE /photos/{id}` route to remove a photo from the database. - [ ] Step 4: Add validation and error handling for photo operations. --- **Acceptance Criteria** - [ ] Photos can be created, read, updated, and deleted via API endpoints. - [ ] Unit tests for all operations are implemented and passing. --- **Branch Navigation** - *Branch Name:* `develop/photo-crud` - `git fetch origin` - `git checkout photo-crud` --- **Resources / References** - Figma: https://www.figma.com/design/SHU630W8Cn50MfTaLoUPZf/Project-Type?node-id=0-1&t=gCciU4ol2Ykzq4ZP-1 - Notion: https://lying-drill-9f6.notion.site/Fall-24-Web-Dev-Advanced-2-Resource-Page-67eb532ca1a349ebb67214b71f40f4a3?pvs=4 --- **Assignee(s)** - @AssignedMember
Issue Title: Create CRUD operations for Photos table
Description
phototable.Task List
POST /photosroute to add a new photo.GET /photos/{id}route to retrieve photo details byid.DELETE /photos/{id}route to remove a photo from the database.Acceptance Criteria
Branch Navigation
develop/photo-crudgit fetch origingit checkout photo-crudResources / References
Assignee(s)