Add DocxodusWeb: serverless redline & ticket management app#122
Open
Add DocxodusWeb: serverless redline & ticket management app#122
Conversation
ASP.NET Minimal API app for Cloud Run / serverless deployment with: - POST /api/compare — upload two DOCX, get redlined DOCX back - POST /api/compare/html — upload two DOCX, get HTML preview - Ticket system (SQLite) for reporting rendering issues with file uploads - Auto-runs Docxodus comparison on ticket submission, stores results - Simple HTML/CSS/JS frontend with redline, ticket list, and submit tabs - Dockerfile for containerized deployment - Configurable DATA_DIR for persistent storage https://claude.ai/code/session_01AjAKUPxua4GGCPiAKwbd2R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces DocxodusWeb, a new ASP.NET Core Minimal API web application for serverless deployment (Cloud Run, etc.) that provides document comparison and ticket management capabilities.
Key Changes
New Web Application (
web/DocxodusWeb/)Program.cs — ASP.NET Core Minimal API setup with:
/api/compare— POST endpoint to upload two DOCX files and receive a redlined DOCX with tracked changes/api/compare/html— POST endpoint to generate HTML preview of comparison/api/tickets— GET/POST endpoints for ticket CRUD operations with pagination and filtering/api/tickets/{id}— GET/PATCH endpoints for individual ticket detail and status updates/api/tickets/{id}/files/{which}— GET endpoint to download original, modified, or redline filesData/TicketDbContext.cs — Entity Framework Core DbContext with:
Ticketmodel storing document metadata, file paths, comparison results, and revision countsTicketStatusenum (Open, InProgress, Resolved, WontFix, Duplicate)Frontend (wwwroot/):
index.html— Single-page app with three tabs: Redline, Tickets, Submit Ticketapp.js— Client-side logic for form submission, API calls, modal interactions, and paginationstyle.css— Modern, responsive design with CSS variables and mobile supportConfiguration & Deployment
Notable Implementation Details
DATA_DIRenvironment variable (defaults to./appdata)DisableAntiforgery()for API endpointsIntegration
Docxoduslibrary for document comparisonhttps://claude.ai/code/session_01AjAKUPxua4GGCPiAKwbd2R