Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement File Sharing #3

Open
mohit-nagaraj opened this issue Dec 20, 2024 · 0 comments
Open

Implement File Sharing #3

mohit-nagaraj opened this issue Dec 20, 2024 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@mohit-nagaraj
Copy link
Owner

Description

Implement a feature that allows users to share files within the chat application. This feature should support various file types and ensure secure file transfer.

Tasks

  1. Frontend Changes

    • Add a file upload button to the chat interface.
    • Display uploaded files in the chat window.
    • Handle file previews for common file types (images, PDFs).
  2. Backend Changes

    • Create an endpoint to handle file uploads.
    • Store uploaded files securely on the server.
    • Update the message schema to include file metadata (e.g., file name, file type, file URL).
  3. Security

    • Validate file types and sizes before uploading.
    • Ensure secure storage and access to uploaded files.
    • Implement virus scanning for uploaded files.
  4. Testing

    • Write unit tests for the new backend endpoints.
    • Perform integration testing to ensure files are uploaded and displayed correctly.

Acceptance Criteria

  • Users can upload and share files within the chat.
  • Uploaded files are displayed correctly in the chat window.
  • File uploads are secure and validated.
  • All new code is covered by tests.
@mohit-nagaraj mohit-nagaraj added this to the v2 release milestone Dec 20, 2024
Repository owner deleted a comment from bounty-birbal-bot bot Dec 20, 2024
@mohit-nagaraj mohit-nagaraj added the good first issue Good for newcomers label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant