Skip to content

KH-Coder865/JuriSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

114 Commits
 
 
 
 
 
 

Repository files navigation

JuriSync - Smart Legal Case Management System

Python Flask groq SQLAlchemy License

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.

⚖️ Features

  • 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.

Working Site


📁 Project Structure

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   

🚀 Technical Stack

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

🔧 Libraries:

  • Flask-SQLAlchemy, Flask-WTF, Jinja2, Werkzeug

🛠 Tools:

  • IDE: Visual Studio Code
  • API Testing: Postman

📦 Package Management:

  • Pip: Install dependencies from dependencies.txt

💻 Setup Instructions

1. Install Python

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 python3

    To confirm Python is installed, run this in your terminal:

    python --version

2. Clone the repository

  -git clone https://github.com/KH-Coder865/JuriSync.git
  -cd JuriSync-main
  -cd JuriSync-main
  -cd JuriSync

3. Set Up a Virtual Environment

A virtual environment is recommended to keep project dependencies isolated.

  1. 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.

  2. Activate the Virtual Environment:

    • Windows:
     venv\Scripts\activate
    • macOS/Linux:
     source venv/bin/activate

    After activation, your terminal prompt should change to something like:

    (venv) $

4. Install Dependencies

pip install -r dependencies.txt

5. Run the Project

python main.py

The app should now be running.


License

This project is licensed under the MIT License - see the LICENSE file for details.

Open for Collaboration🤝


👤 Author

Kaushik Harsha

Nikunj Kumar Agarwal


About

Legal Case Database Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •