Contract Tracker

Contract Management

Contracts and reminders tracked in one place.

The need

Helping organisations track contracts, documents and expiry dates in one place and never miss an upcoming deadline.

What we built

Enterprise contract tracking system NWTsoft built for its own contract processes.

Problem:
Contracts were scattered across a file server and email attachments. It was unclear who was watching the end dates, and a missed renewal window only surfaced after the contract had already expired.

Solution:
Contracts, documents and reminders now live in a single record. Each contract defines its mail recipients and reminder dates; when a reminder falls due, mail goes out automatically. Reminders are set in days/weeks/months relative to the end date and are calculated in the Istanbul time zone.

Architecture:
Modular monolith with vertical slices. The same codebase runs on both SQL Server and PostgreSQL, with the provider chosen from configuration. The mail chain is built on the outbox pattern: every mail-triggering operation writes to the queue inside the same transaction as the business data, so "the contract was saved but the mail never got queued" cannot happen. Delivery goes through NATS JetStream with at-least-once guarantees; undeliverable messages land in a DLQ and can be rescued from the admin screen in one click.

Key Features:

  • Contract records, PDF/Word/Excel uploads, SHA-256 integrity verification
  • Automatic reminders and mail based on the end date
  • Guaranteed delivery via outbox + NATS JetStream, with DLQ rescue
  • One codebase across SQL Server and PostgreSQL
  • User synchronisation from Excel (adapter interfaces ready for SAP, Uyumsoft, Logo jHR)
  • Role-based authorisation and admin screens (users, sync, mail queue)
  • Contract & Document Management — PDF/Word/Excel upload, SHA-256 integrity verification, authorised-only download
  • Automated Reminders — Day/week/month reminders relative to the end date, calculated in the Istanbul time zone
  • Guaranteed Mail Delivery — Outbox pattern + NATS JetStream; undeliverable messages are rescued from the DLQ in one click
  • Dual Database Support — The same codebase runs on SQL Server and PostgreSQL; the provider is chosen from configuration
  • User Synchronisation — Automatic user import from Excel, with adapter interfaces ready for SAP, Uyumsoft and Logo jHR

.NET 10 · React 19 · TypeScript · EF Core · SQL Server · PostgreSQL · NATS JetStream · Docker · Tailwind CSS · Vite