🚀 MAIN BRANCH (Production) This is the fully completed, production-ready repository for the Civix platform. All core milestones, role-based dashboards, and governance features have been integrated and tested.
Civix enables citizens to engage in local governance through petitions, voting, and tracking officials' responses. It fosters community-driven advocacy by allowing geo-targeted issues and public sentiment polling.
- 🔐 Authentication (secure login & signup)
- 📝 Create, edit, and sign petitions
- 📊 Participate in polls & sentiment tracking
- 📍 Filter petitions by category & location
- 📌 Track petition status (Active / Under Review / Closed)
- 📊 Governance dashboard (jurisdiction-based)
- 🛠️ Respond to petitions & update status
- 💬 Add official comments
- 📈 View analytics & public sentiment reports
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB, Mongoose
- Auth: JWT (JSON Web Tokens)
_id: ObjectIdname: Stringemail: String (Unique)password: String (Hashed)role: citizen | officiallocation: String
_id: ObjectIdcreator_id: Ref(User)title: Stringdescription: Stringcategory: Stringlocation: Stringstatus: active | under_review | closed
_id: ObjectIdpetition_id: Ref(Petition)user_id: Ref(User)timestamp: Date
_id: ObjectIdtitle: Stringoptions: [{ optionText, votes }]created_by: Ref(User)target_location: String
_id: ObjectIdpoll_id: Ref(Poll)user_id: Ref(User)selected_option: String
_id: ObjectIdpetition_id: Ref(Petition)user_id: Ref(User)text: String
git clone https://github.com/your-org/team-c.git
cd team-c
git checkout maincd backend
npm installCreate .env:
PORT=5000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_secret_keyRun server:
npm start
# or
npm run devcd frontend
npm install(Optional .env)
REACT_APP_API_URL=http://localhost:5000/apiRun app:
npm start- 🤖 AI-powered complaint classification using NLP
- 🚨 Intelligent urgency detection through sentiment analysis
- 🔁 Automated duplicate petition identification
- 📊 Data-driven governance insights and analytics
Agastya Maurya
Give it a ⭐ on GitHub!