Skip to content

iamaryan07/Legal-AI-Platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💼 Legal AI Platform

A modern web application for instant, AI-powered legal document analysis. Upload your legal contracts or agreements and receive risk assessment, clause highlighting, and actionable insights—all within a user-friendly interface.


🚀 Features

  1. Automated PDF Upload & Analysis

    • Instantly upload legal documents and receive AI-driven risk assessments.
  2. Clause Highlighting

    • Risky terms and clauses are automatically detected and highlighted for easy review.
  3. Risk Dashboard

    • Get a visual summary of risk levels, flagged clauses, and document statistics.
  4. Modern UI

    • A clean, responsive interface for both desktop and mobile devices.
  5. Secure & Private

    • Your documents are processed securely and never stored after analysis.

🛠️ Tech Stack

  • Frontend: React, JavaScript, CSS
  • Backend: Node.js, Express.js
  • PDF Processing: pdf-parse (Node.js)
  • AI/NLP: Custom keyword and clause detection (extendable to LLMs)
  • Authentication: Simple session-based (demo mode)
  • Deployment: Deployable on Vercel, Netlify, Render, Heroku, or your own server

⚡ Getting Started

1️⃣ Clone the Repository

git clone https://github.com/your-username/legal-affairs-platform-app.git
cd legal-ai-platform

2️⃣ Install Dependencies

Backend:

cd backend
npm install

Frontend:

cd ../frontend
npm install

3️⃣ Start the Development Servers

Backend:

npm start

Runs on: http://localhost:5000

Frontend:

npm start

Runs on: http://localhost:3000

4️⃣ Environment Variables

Frontend:

Create a .env file in /frontend:

REACT_APP_API_URL=http://localhost:5000/api

Backend: (Optional) Create a .env file for custom port or secrets.


📄 Usage

  1. Login

    • Use any email/password (demo mode).
  2. Document Analysis

    • Go to "Document Analysis", upload a PDF, and get AI-powered highlights and risk summaries.
  3. Review

    • Review flagged clauses and dashboard insights.
  4. Test Locally or Deploy

    • Fully functional locally or deploy to your preferred cloud platform.

🧑‍💻 Contributing

  • Pull requests are welcome!
  • For major changes, please open an issue first to discuss what you would like to change.

📞 Contact For questions or demo requests, contact dgav3105@gmail.com,ahmedsiddiquefarhan@gmail.com,jaivardhansingh785@gmail.com, aryanbalhara3700@gmail.com

Transforming legal document analysis with AI technology. Powered by cutting-edge artificial intelligence.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages