Skip to content

created the file upload module - #289

Merged
yusuftomilola merged 2 commits into
DistinctCodes:mainfrom
Kaylahray:feat/fileUpload
Oct 1, 2025
Merged

created the file upload module#289
yusuftomilola merged 2 commits into
DistinctCodes:mainfrom
Kaylahray:feat/fileUpload

Conversation

@Kaylahray

@Kaylahray Kaylahray commented Oct 1, 2025

Copy link
Copy Markdown
Contributor
  • I have implemented the file upload feature. closes 22. [BACKEND] Implement File Upload Module #220

  • Created a dedicated file-uploads module.

  • Configured Multer for handling uploads, including file size limits and validation (only images/PDFs are accepted).

  • Added a service that saves file metadata (name, path, size, mimetype) into the file_uploads table.

  • Built a controller with an upload endpoint (/file-uploads/upload) that accepts files and allows linking them to assets or suppliers.

  • Established proper entity relationships so that uploaded files are referenced in the database and can be queried along with the related asset or supplier.

@vercel

vercel Bot commented Oct 1, 2025

Copy link
Copy Markdown

@Kaylahray is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola
yusuftomilola merged commit 9b30d82 into DistinctCodes:main Oct 1, 2025
5 of 6 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.

22. [BACKEND] Implement File Upload Module

2 participants