Skip to content

About

Contract Lifecycle Management (CLM) System

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

📜 Contract Lifecycle Management (CLM) System

FastAPI Vue.js Tailwind CSS SQLite Docker

An intelligent, AI-powered system designed to streamline the entire lifecycle of your contracts—from initial upload and redlining to secure electronic signatures and version tracking.


✨ Key Features

The CLM system provides a comprehensive set of features for managing the lifecycle of contracts:

📄 File Upload

Easily upload your contract documents.
🤖 Ask AI

Leverage AI to ask questions about contracts.
📊 Knowledge Graph

Visualize relationships and entities.
🔍 Document Comparison

Compare different versions of a document.
🖊️ Redlining

Mark up and suggest changes.
🧐 Review Mode

Specialized mode for reviewing terms.
📝 Redline Review Mode

Combined view for reviewing redlines.
🔏 Document Signing

Securely sign documents.
📜 Signed Version Tracking

Keep track of signed versions.

🏗️ Architecture

  • Backend: FastAPI with Python 3.13 and uv package manager.
  • Frontend: Vue.js 3 with Vite and Tailwind CSS.
  • Database: SQLite (managed with SQLAlchemy and Alembic).
  • Deployment: Docker Compose for seamless orchestration.

🚀 Getting Started

Prerequisites

Running the Application

To start the entire system:

docker-compose up --build

🛠️ Development

Database Migrations

We use Alembic to handle database schema changes.

Creating a New Migration

When you modify backend/app/models/models.py, generate a new migration version:

  1. Enter the backend container:
    docker-compose exec backend bash
  2. Generate migration:
    ./generate_migration.sh "Description of changes"
  3. Exit the container:
    exit

Note: Remember to commit the new migration file in backend/migrations/versions/.

Applying Migrations

Migrations are automatically applied on container startup. To manually apply them:

docker-compose exec backend uv run alembic upgrade head

About

Contract Lifecycle Management (CLM) System

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages