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.
-
Automated PDF Upload & Analysis
- Instantly upload legal documents and receive AI-driven risk assessments.
-
Clause Highlighting
- Risky terms and clauses are automatically detected and highlighted for easy review.
-
Risk Dashboard
- Get a visual summary of risk levels, flagged clauses, and document statistics.
-
Modern UI
- A clean, responsive interface for both desktop and mobile devices.
-
Secure & Private
- Your documents are processed securely and never stored after analysis.
- 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
git clone https://github.com/your-username/legal-affairs-platform-app.git
cd legal-ai-platformBackend:
cd backend
npm installFrontend:
cd ../frontend
npm installBackend:
npm startRuns on: http://localhost:5000
Frontend:
npm startRuns on: http://localhost:3000
Frontend:
Create a .env file in /frontend:
REACT_APP_API_URL=http://localhost:5000/apiBackend:
(Optional) Create a .env file for custom port or secrets.
-
Login
- Use any email/password (demo mode).
-
Document Analysis
- Go to "Document Analysis", upload a PDF, and get AI-powered highlights and risk summaries.
-
Review
- Review flagged clauses and dashboard insights.
-
Test Locally or Deploy
- Fully functional locally or deploy to your preferred cloud platform.
- 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.