Draft, review, sign, and publish contracts from reusable Word templates in one workspace — a Syncfusion React showcase.
| App | Folder | Stack |
|---|---|---|
| Frontend | client-side/ |
React 19 + Vite + Syncfusion Document Editor & PDF Viewer |
| Backend | server-side/ |
ASP.NET Core Document Editor service (Word import, mail merge, comparison, PDF/DOCX export) |
Start the backend first — the frontend depends on it for import, merge, comparison, and export.
- .NET 10 SDK
- Node.js ≥ 20 and npm ≥ 10
- A Syncfusion license key (optional — apps run in trial mode without one)
cd server-side
dotnet restore
dotnet run --project src/ContractWorkspace.DocumentService/ContractWorkspace.DocumentService.csprojThe service runs at http://localhost:5212 (health check: GET /health).
First run: generate the template DOCX files if
wwwroot/Templates/is empty:dotnet run --project src/ContractWorkspace.TemplateGenerator/ContractWorkspace.TemplateGenerator.csproj
In a new terminal:
cd client-side
cp .env.example .env # then set the values below
npm install
npm run devThe app runs at http://localhost:5173.
Set these in client-side/.env:
| Variable | Value |
|---|---|
VITE_DOCUMENT_EDITOR_SERVICE_URL |
http://localhost:5212 |
VITE_SYNCFUSION_LICENSE_KEY |
Your license key (leave empty for trial mode) |
- Frontend:
client-side/README.md - Backend:
server-side/README.md
All templates, clauses, and data are synthetic fictional content for demonstration only — no real contract text and no PII. Signatures are image-based approval signatures, not certificate-backed digital signatures.