project.demo.mp4
It quickly identifies risks, enhances compliance, and offers insights for faster negotiation using AI.
Explore the docs »
Table of Contents
Managing contracts can be a time consuming and costly process, but this AI powered platform is here to change that. Designed to simplify and streamline contract analysis, it quickly identifies potential risks, ensures compliance with regulations, and provides actionable insights to accelerate negotiations.
With automation at its core, this platform eliminates the need for tedious manual reviews, drastically reducing legal expenses while improving accuracy. Whether you’re negotiating deals or managing ongoing agreements, this tool empowers businesses to take control of their contracts with speed, efficiency, and confidence.
By transforming the way contracts are analyzed and reviewed, this project helps you focus on what truly matters closing deals and driving growth.
- Next js
- React js
- Node js
- Express js
- Redis (Upstash)
- Zustand
- Tanstack React Query
- Tanstack Table
- Tailwind CSS
- ShadCn
- Stripe
- Google Gemini AI
- Passport js
- OAuth,
- MongoDB
- Resend
- Morgan
- Multer
- Recharts
To get a local copy up and running follow these simple steps.
This is an example of how to list things you need to use the software and how to install them.
-
Node
-
npm
npm install npm@latest -g
-
Get a Google Gemini AI API Key at https://aistudio.google.com/app/apikey
-
Clone the repos
git clone https://github.com/indraantoor/Contract-AI-Frontend
git clone https://github.com/indraantoor/Contract-AI-Backend
-
Install NPM packages In All Of These Cloned Directories
npm install
-
In frontend directory create a ".env" file and paste your values for these variables
NEXT_PUBLIC_API_URL=<YOUR_FRONTEND_URL> NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=<YOUR_STRIPE_PUBLISHABLE_KEY> -
In the backend directory create a ".env" file and paste your values for these variables
MONGODB_URI=<YOUR_MONGODB_URI> GOOGLE_CLIENT_ID=<YOUR_GOOGLE_CLIENT_ID> GOOGLE_CLIENT_SECRET=<YOUR_GOOGLE_CLIENT_SECRET> CLIENT_URL=<YOUR_FRONTEND_URL> SESSION_SECRET=<YOUR_DEFINED_SESSION_SECRET> UPSTASH_REDIS_REST_URL=<YOUR_UPSTASH_REDIS_REST_URL> UPSTASH_REDIS_REST_TOKEN=<YOUR_UPSTASH_REDIS_TOKEN> GEMINI_API_KEY=<YOUR_GEMINI_API_KEY> RESEND_API_KEY=<YOUR_RESEND_API_KEY> STRIPE_SECRET_KEY=<YOUR_STRIPE_SECRET_KEY> -
Run the application
Navigate To The Backend Directory npm run dev
Navigate To The Frontend Directory npm run dev (to run app in development mode) npm start (to run app in production mode)
Login or sign up to access the application.
Once on your dashboard page click on "New Contract" button.
Drag and drop your contract file and make sure it is in "pdf" format and click on "Analyze Contract With AI" button. It will then detect the type of the contract and to finally completely analyze it, confirm and click on "Yes, I want to analyze it" button.
Wait for the AI analysis to get completed.
To view the results click on "View Results" button
In the "FREE VERSION" you will see limited results and in "Premium" you will see full results. To See all details you can upgrade to premium.
Project Link: https://github.com/indraantoor/Contract-AI-Frontend