Skip to content

ShakH00/DuoLegal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hackathon: Hack the Change 2024

Topic 1: How can we leverage technology to provide access to justice for all

Overview

DuoLegal connects individuals seeking legal help with pro bono and small-case lawyers. By creating detailed case listings and showcasing lawyer expertise, DuoLegal makes it easy to find the perfect match. Our mission is to make justice accessible to everyone, regardless of financial means, and improve the legal support process.

Table of Content:

Technology

  • Frontend: HTML, CSS and JS
  • Backend: Python (flask)
  • Database: MongoDB
  • APIs: OpenAI API used for LegalAI

Project setup

  1. Clone the repo:

    git clone https://github.com/ShakH00/DuoLegal.git
  2. Create a .env file:

    Enter your info:

    OPENAI_API_KEY=
    MONGO_KEY=
    
  3. Run app.py:

    In the run terminal click the link to the localhost

Objective

  • DuoLegal’s objective is to break down barriers to legal access by providing a platform that connects individuals in need with dedicated pro bono and small-case lawyers. We aim to create a streamlined, accessible, and supportive environment where lawyers can contribute their expertise to underserved communities, making justice attainable for all.

Screenshots

Main page

  • Provides info about DuoLegal and has contact info. screencapture-127-0-0-1-5000-2024-11-10-11_50_12

Login

  • Log into your account and reset your password if you need to. screencapture-127-0-0-1-5000-login-2024-11-10-11_50_37 screencapture-127-0-0-1-5000-password-reset-2024-11-10-11_50_50

Registration

  • Register your account and if you are a lawyer, you can submit your credentials for approval. screencapture-127-0-0-1-5000-register-2024-11-10-11_50_30 screencapture-127-0-0-1-5000-register-2024-11-10-11_52_48

Claims

  • In this tab, you can make claims and people can respond. Lawyers can contact you to represent you in court if need be. screencapture-127-0-0-1-5000-claims-2024-11-10-11_51_16

LegalAI

  • Using the OpenAI API, you can ask legal questions to the bot and receive answers. screencapture-127-0-0-1-5000-aichat-2024-11-10-11_51_23

Account Settings

  • Here you can edit your account settings like email address, name etc. screencapture-127-0-0-1-5000-account-2024-11-10-11_51_31