Skip to content

πŸ”’ Private for maintenance sprint. CI/CD pipeline revision and quality improvements in progress. Civic transparency platform.

License

Notifications You must be signed in to change notification settings

POWDER-RANGER/CIVWATCH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

CIVWATCH

CI Pipeline License: MIT OpenSSF Scorecard codecov

OpenSSF Scorecard currently failing due to private repo exclusion; see Wiki for fix progress.

AI-powered civic transparency platform delivering real-time government oversight through ML-driven analysis.

Solves: Opaque government processes, inaccessible public data, delayed civic engagement.

Technical edge: Three-tier microservices (React/Node.js/Python ML), NLP sentiment analysis, predictive policy analyticsβ€”all containerized for instant deployment.


πŸš€ Quickstart Demo

Get CIVWATCH running in under 2 minutes:

# Clone and start all services
git clone https://github.com/POWDER-RANGER/CIVWATCH.git && cd CIVWATCH
docker-compose up

# Services will be available at:
# - Backend API: http://localhost:3000
# - Frontend UI: http://localhost:4000  
# - ML Service: http://localhost:5000

⚠️ Development Status: Early-stage infrastructure. Core architecture documented; implementation underway. MVP target: Q1 2026. Track progress: Issue #6


πŸ—οΈ Architecture Overview

Visual: View Full System Architecture Diagram β†’

Three-Tier Design:

β€’ Frontend (TypeScript/React, port 4000): Responsive UI, real-time dashboards, data visualizations

β€’ Backend (Node.js/Express, port 3000): REST API, JWT auth, PostgreSQL persistence, Redis caching

β€’ ML Service (Python/FastAPI, port 5000): Sentiment analysis, topic modeling, entity recognition (TensorFlow/spaCy)

Key Tech Highlights:

β€’ JWT authentication + Redis sessions (1hr/7day TTL)

β€’ PostgreSQL (persistent data) + Redis (caching)

β€’ NLP sentiment analysis (TensorFlow/spaCy)

β€’ Docker Compose orchestration (3 services)

β€’ RESTful API endpoints (OpenAPI spec: docs/api.md)

API latency benchmarks and performance statistics coming soon.


πŸ“Š Quality & Benchmarks

Compliance & Security

β€’ βœ… OpenSSF Best Practices compliance (in progress)

β€’ βœ… MIT License
β€’ πŸ”„ Codecov integration (CI coverage pending first test run)

β€’ πŸ”’ Production-grade auth (JWT + bcrypt)

Performance Benchmarks

β€’ Backend response times: TBD (load testing planned)

β€’ ML inference latency: TBD (GPU optimization underway)

β€’ Database query performance: TBD (benchmark suite in development)

Architecture & Testing

β€’ Unit tests: pytest (ML), Jest (backend/frontend)

β€’ E2E tests: Playwright (UI workflows)

β€’ CI/CD: GitHub Actions (linting, tests, coverage)

β€’ Tech Debt: See Issue #6

Known Issues

β€’ OpenSSF Scorecard failing (private repo; manual audit workaround documented)

β€’ CI coverage not yet enabled (first run will populate Codecov badge)

β€’ ML model files not in repo (download script in ml/models/README.md)

Roadmap Items

β€’ Multi-language support (Spanish, Chinese)

β€’ Mobile apps (React Native)

β€’ Advanced data export (CSV, JSON, PDF)

β€’ Real-time collaboration features


🀝 Contributing

Quick Start:

  1. Fork: Click "Fork" at the top-right
  2. Clone: git clone https://github.com/YOUR_USERNAME/CIVWATCH.git
  3. Branch: git checkout -b feature/your-feature-name
  4. Code: Make your changes (follow style guides)
  5. Commit: Use Conventional Commits (feat:, fix:, docs:)
  6. PR: Push and open a Pull Request

Dev Commands:

npm run dev           # Backend dev mode
npm test              # Backend tests
cd ml && pytest       # ML service tests
cd frontend && npm start  # Frontend dev server

What we need: β€’ πŸ› Bug fixes & stability

β€’ ✨ Civic transparency features

β€’ πŸ“š Documentation improvements

β€’ πŸ§ͺ Test coverage

β€’ 🎨 UI/UX enhancements

Guidelines: CONTRIBUTING.md | Code of Conduct


πŸ”’ Security Policy

Production-grade security: β€’ Auth: JWT tokens (1hr expiry) + refresh tokens (7-day TTL)

β€’ Passwords: bcrypt (cost factor 12)

β€’ Rate limiting: 100 req/min per IP

β€’ TLS: 1.3 for all external traffic

β€’ CORS: Whitelist-only origins

Found a vulnerability? Report privately via GitHub Security Advisories.

β†’ Full Security Policy


πŸ“„ License

MIT License - see LICENSE for details.


πŸ“š Additional Resources

β€’ Architecture Guide - System design & data flows

β€’ API Reference - Complete endpoint specs

β€’ Testing Strategy - QA approach

β€’ Installation Guide - Deployment instructions


Built with ❀️ for civic engagement

Last Updated: October 18, 2025 | Status: Early Development | Next: QA Item Implementation

About

πŸ”’ Private for maintenance sprint. CI/CD pipeline revision and quality improvements in progress. Civic transparency platform.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •