legal-doc-masker/frontend
tigermren 84499f52ea feat: 增加错误信息显示 2025-08-17 23:26:59 +08:00
..
public Initial commit 2025-07-20 21:54:24 +08:00
src feat: 增加错误信息显示 2025-08-17 23:26:59 +08:00
.dockerignore Initial commit 2025-07-20 21:54:24 +08:00
.env Initial commit 2025-07-20 21:54:24 +08:00
Dockerfile Initial commit 2025-07-20 21:54:24 +08:00
README.md Initial commit 2025-07-20 21:54:24 +08:00
docker-compose.yml Initial commit 2025-07-20 21:54:24 +08:00
nginx.conf Initial commit 2025-07-20 21:54:24 +08:00
package-lock.json Initial commit 2025-07-20 21:54:24 +08:00
package.json Initial commit 2025-07-20 21:54:24 +08:00
tsconfig.json Initial commit 2025-07-20 21:54:24 +08:00

README.md

Legal Document Masker Frontend

This is the frontend application for the Legal Document Masker service. It provides a user interface for uploading legal documents, monitoring their processing status, and downloading the masked versions.

Features

  • Drag and drop file upload
  • Real-time status updates
  • File list with processing status
  • Multi-file selection and download
  • Modern Material-UI interface

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

Installation

  1. Install dependencies:
npm install
  1. Start the development server:
npm start

The application will be available at http://localhost:3000

Development

The frontend is built with:

  • React 18
  • TypeScript
  • Material-UI
  • React Query for data fetching
  • React Dropzone for file uploads

Building for Production

To create a production build:

npm run build

The build artifacts will be stored in the build/ directory.

Environment Variables

The following environment variables can be configured: