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.
The CLM system provides a comprehensive set of features for managing the lifecycle of contracts:
- Backend: FastAPI with Python 3.13 and
uvpackage manager. - Frontend: Vue.js 3 with Vite and Tailwind CSS.
- Database: SQLite (managed with SQLAlchemy and Alembic).
- Deployment: Docker Compose for seamless orchestration.
- Docker and Docker Compose
To start the entire system:
docker-compose up --build- Frontend: http://localhost:8080
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
We use Alembic to handle database schema changes.
When you modify backend/app/models/models.py, generate a new migration version:
- Enter the backend container:
docker-compose exec backend bash - Generate migration:
./generate_migration.sh "Description of changes" - Exit the container:
exit
Note: Remember to commit the new migration file in backend/migrations/versions/.
Migrations are automatically applied on container startup. To manually apply them:
docker-compose exec backend uv run alembic upgrade head







