Hilmi-Engineering / hilmi-marketplace

0 stars 0 forks source link

Standardize Upload File Handling and Data Encoding #2

Open wendulem opened 5 months ago

wendulem commented 5 months ago

Overview

Establish and verify standards for file handling and data encoding to ensure seamless compatibility between the frontend and backend systems, particularly for image uploads in product creation.

Tasks

1. Define File Encoding Standards

Objective: Confirm and document the file encoding and formats supported by the backend, and ensure the frontend adheres to these standards during file uploads.

2. Validate File Upload Mechanism

Objective: Implement thorough testing to validate the file upload process, focusing on file size limits, supported types, and error handling.

3. Documentation

Objective: Create comprehensive documentation that details the file handling protocol, including expected file types, size restrictions, and the encoding process.

Expected Outcome

wendulem commented 5 months ago

Going to leave it open until there's an end to end test that successfully creates a product on the cloud - no need to validate file sizes etc because we're going to be replacing the upload ASAP