This project is a conversational AI chatbot built to demystify legal information for the citizens of a country. It aims to enhance legal literacy by providing clear, accessible, and understandable answers to questions about basic legal rights and procedures.
- Educate: To inform citizens about their fundamental legal rights in simple, plain language.
- Simplify: To break down complex legal jargon and procedures into easy-to-understand steps.
- Empower: To provide users with the confidence and knowledge to navigate common legal situations.
- Conversational AI: Uses the Gemini API for natural, human-like dialogue.
- Broad Scope: Covers a wide range of topics, from basic citizen rights to consumer protection.
- Simple Language: Designed to be accessible to users with no prior legal knowledge.
- Core Model: Google Gemini 2.5 Pro
- Backend: Node.js (Express.js)
- Frontend: [e.g., HTML/CSS/JavaScript, React, EJS]
- Database: [e.g., Supabase, Firebase, MongoDB]
Instructions on how to run this project locally.
# 1. Clone the repository
git clone [https://github.com/your-username/your-repo-name.git](https://github.com/your-username/your-repo-name.git)
cd your-repo-name
# 2. Install dependencies
# (This installs all packages from package.json)
npm install
# 3. Set up your environment variables
# (Create a .env file and add your GEMINI_API_KEY)
echo "GEMINI_API_KEY='YOUR_API_KEY_HERE'" > .env
# 4. Run the application
# (Assuming your main file is index.js or app.js)
node index.js
# or if you have a "start" script in your package.json:
# npm start