This is a Flask-based legal assistant platform designed to modernize legal workflows for both users and lawyers. The system not only streamlines legal operations but also supports faster justice delivery through intelligent case prioritization.
- User & Lawyer Login: Role-based authentication and dashboards.
- Case Management: Lawyers can add, view, and manage detailed legal cases.
- Case Search: Search cases by section, article, or type.
- Lawyer Search: Users can find lawyers by specialization and contact them.
- Smart Case Prioritization: Cases are ranked by urgency, complexity, and risk factors, helping in fast and effective case solving, reducing case backlogs.
- AI Legal Chatbot: Instant legal advice powered by Groq's LLaMA AI model.
- Dashboard Analytics: Track total, solved, and pending cases.
- Secure Session Handling: Protected Access to Features.
- Hosted on Render.
- URL: JuriSync_KH_NKA
JuriSync/
├──JuriSync-main/
| ├── JuriSync-main/
| │ └── JuriSync/
| │ ├── static
| | | ├── script.js
| │ | ├── style.css
| │ | └── weblogo.jpg
| | ├── generated-icon.png
| | ├── main.py
| | ├── poetry.lock
| | ├── pyproject.toml
| | ├── dependecies.txt
| │ └── templates/
| | ├── add_case.html
| │ ├── contact_lawyer.html
| │ ├── dashboard.html
| │ ├── index.html
| │ ├── login.html
| │ ├── register.html
| │ ├── search.html
| │ ├── search_lawyer.html
| │ ├── user_login.html
| │ └── user_register.html
| │
| └── instance/
| └── legal.db
└── README.md
This project utilizes the following technologies:
- Backend: Flask (lightweight Python framework)
- Database: SQLAlchemy (ORM for database management)
- User Authentication: Flask-Login (user session and auth management)
- AI/Chat Bot: GROQ (real-time Legal Assistance)
- Frontend: HTML/CSS, Bootstrap (responsive web design)
- Environment: Python venv (isolated environments for dependencies)
- Version Control: Git & GitHub
- Flask-SQLAlchemy, Flask-WTF, Jinja2, Werkzeug
- IDE: Visual Studio Code
- API Testing: Postman
- Pip: Install dependencies from
dependencies.txt
To run this project, you’ll need to have Python 3.7+ installed on your system.
-n, make sure to check the box to Add Python to PATH.
-
Windows: Download Python and check Add Python to PATH.
-
macOS:
brew install python -
Linux:
sudo apt install python3To confirm Python is installed, run this in your terminal:
python --version
-git clone https://github.com/KH-Coder865/JuriSync.git
-cd JuriSync-main
-cd JuriSync-main
-cd JuriSyncA virtual environment is recommended to keep project dependencies isolated.
-
Create a Virtual Environment:
In your project’s root directory, run the following command to create the virtual environment:
python -m venv venv
This will create a venv directory where the isolated Python environment will reside.
-
Activate the Virtual Environment:
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activateAfter activation, your terminal prompt should change to something like:
(venv) $
pip install -r dependencies.txtpython main.pyThe app should now be running.
This project is licensed under the MIT License - see the LICENSE file for details.
Open for Collaboration🤝
Kaushik Harsha
- GitHub: @KH-Coder865
Nikunj Kumar Agarwal
- GitHub: @nikunjagarwal18