Skip to content

Coding Challenge Submission#1

Open
jqdometita wants to merge 3 commits into
ml6team:mainfrom
jqdometita:main
Open

Coding Challenge Submission#1
jqdometita wants to merge 3 commits into
ml6team:mainfrom
jqdometita:main

Conversation

@jqdometita

Copy link
Copy Markdown

Implement live coding challenge for backend and frontend

* content api handles docx to html conversion
* view api servers pdf file
@flip-in flip-in requested a review from Copilot April 24, 2025 14:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request implements a live coding challenge submission by adding file preview functionality for DOCX and PDF files on both the frontend and backend.

  • Frontend: Added state and functions to load and display file previews, including handling DOCX and PDF files.
  • Backend: Added endpoints to convert DOCX to HTML using mammoth and serve PDF files.

Reviewed Changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated 3 comments.

File Description
frontend/src/app/page.tsx Added preview state, functions to load DOCX/PDF previews, and UI for displaying them.
backend/server.js Introduced endpoints for DOCX conversion (via mammoth) and PDF file retrieval.
Files not reviewed (3)
  • backend/data/data.json: Language not supported
  • backend/package-lock.json: Language not supported
  • backend/package.json: Language not supported

Comment thread frontend/src/app/page.tsx Outdated
Comment thread backend/server.js Outdated
Comment thread backend/server.js Outdated
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.

2 participants