Skip to content

Implement project image upload functionality - #79

Merged
ayshadogo merged 3 commits into
Dfunder:mainfrom
LaGodxy:feature/project-image-upload
Mar 24, 2026
Merged

Implement project image upload functionality#79
ayshadogo merged 3 commits into
Dfunder:mainfrom
LaGodxy:feature/project-image-upload

Conversation

@LaGodxy

@LaGodxy LaGodxy commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds functionality to upload and manage project images, enabling projects to have multiple associated media assets stored in cloud storage.

Key Features:

  • Integrated file upload support using @nestjs/platform-express and multer

  • Added endpoint:

    • POST /projects/:id/images → Upload project images
    • DELETE /projects/:id/images/:imageId → Delete project images
  • Implemented file validation:

    • Allowed formats: jpg, png, webp
    • Maximum file size: 5MB
  • Uploaded images to cloud storage (S3/Supabase)

  • Stored image URLs in the database

  • Supported multiple images per project

This enhances project presentation and improves user engagement through visual content.


Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Test addition/improvement

Checklist

  • I have run npm run build successfully with no errors
  • I have run npm test and all tests pass
  • If I added new test files, they all pass
  • My code follows the project's style guidelines
  • I have performed a self-review of my code

CI/CD Requirements

The following checks will run automatically on this PR:

  1. Build Check - Ensures the project builds successfully
  2. Test Check - Ensures all tests pass (including any new test files)

Screenshots (if applicable)

N/A

closes #73

@drips-wave

drips-wave Bot commented Mar 24, 2026

Copy link
Copy Markdown

@LaGodxy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ayshadogo
ayshadogo merged commit bd94914 into Dfunder:main Mar 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Project Image Upload

2 participants