{"id":50684953,"url":"https://github.com/amitdeka/axomprahari","last_synced_at":"2026-06-08T22:02:11.216Z","repository":{"id":358705966,"uuid":"1242668208","full_name":"AmitDeka/AxomPrahari","owner":"AmitDeka","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-05T19:42:34.000Z","size":3089,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-05T21:17:40.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmitDeka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-18T16:31:17.000Z","updated_at":"2026-06-05T19:42:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/AmitDeka/AxomPrahari","commit_stats":null,"previous_names":["amitdeka/axomprahari"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AmitDeka/AxomPrahari","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAxomPrahari","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAxomPrahari/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAxomPrahari/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAxomPrahari/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmitDeka","download_url":"https://codeload.github.com/AmitDeka/AxomPrahari/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAxomPrahari/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34082130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-08T22:02:09.505Z","updated_at":"2026-06-08T22:02:11.202Z","avatar_url":"https://github.com/AmitDeka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Axom Prahari 🛡️\n\nAxom Prahari (The Civic Sentinel) is a comprehensive, full-stack digital initiative designed to empower the citizens of Assam by providing a platform to report traffic violations securely, anonymously, and efficiently. It acts as a bridge between the civic community and state authorities.\n\n## 📂 Project Structure\n\nThis monolithic repository contains all the code for the Axom Prahari platform, divided into three distinct modules:\n\n### 1. `app/` (Citizen Android Application)\nThe mobile application used by citizens on the ground to capture and report traffic offenses.\n*   **Platform:** Android 10+ (minSdk 29, targetSdk 36)\n*   **Architecture:** 64-bit only (arm64-v8a, x86_64) for maximum performance and reduced bundle size. Product Flavors configured for Beta and Stable releases.\n*   **Tech Stack:**\n    *   **Language:** Kotlin\n    *   **UI:** Jetpack Compose (Material 3)\n    *   **Camera:** CameraX (Photo \u0026 Video capture with live preview)\n    *   **Location:** Android LocationManager API (Hardware GPS tracking)\n    *   **Network:** Retrofit + OkHttp\n    *   **Dependency Injection:** Dagger Hilt\n    *   **Storage:** Android DataStore\n\n### 2. `frontend/` (Admin Dashboard \u0026 Web Portal)\nThe web-based control panel used by traffic authorities and admins to review reports, verify offenses, and manage citizen rewards.\n*   **Framework:** Next.js 16 (App Router)\n*   **Library:** React 19\n*   **Styling:** Tailwind CSS v4\n*   **Components:** Radix UI \u0026 Shadcn UI components\n*   **HTTP Client:** Axios\n*   **Icons:** Lucide React\n\n### 3. `api/` (Backend Server)\nThe centralized backend REST API that handles data flow, security, media uploads, and business logic. Located inside `api/v1/`.\n*   **Runtime:** Node.js (v18+)\n*   **Framework:** Express.js\n*   **Database:** PostgreSQL (`pg` module) with structured relational tables.\n*   **Authentication:** JSON Web Tokens (JWT) \u0026 bcrypt for secure hashing.\n*   **Validation:** Zod (Strict schema validation for incoming reports and data).\n*   **Media Storage:** AWS S3 SDK (configured for Cloudflare R2 object storage with pre-signed URLs).\n*   **OTP \u0026 SMS:** Twilio integration for citizen phone verification.\n*   **Security:** Helmet.js \u0026 Express Rate Limit for DDoS and basic attack mitigation.\n\n## 🚀 Getting Started\n\n### Backend (`api/v1/`)\n1. Navigate to the `api/v1` directory.\n2. Run `npm install` to install dependencies.\n3. Copy `.env.example` to `.env` and fill in your PostgreSQL, Twilio, and R2 credentials.\n4. Run `npm run dev` to start the local development server using nodemon.\n\n### Web Admin (`frontend/`)\n1. Navigate to the `frontend` directory.\n2. Run `npm install` to install dependencies.\n3. Configure your local `.env` with the API URL.\n4. Run `npm run dev` to start the Next.js development server.\n\n### Android App (`app/`)\n1. Open the `app/` directory in Android Studio.\n2. Sync the Gradle project.\n3. Select your desired Build Variant (e.g., `stableDebug` or `betaDebug`).\n4. Build and run on a physical device or emulator.\n\n## 🤝 Contribution Guidelines\nWhen contributing to the repository, please ensure that you are adhering to the specific module architectures. \n- Ensure all backend API payloads conform strictly to their respective Zod schemas in `report.validator.js`.\n- Respect the strict 64-bit ABI filter when compiling native C++ or JNI code in the Android App.\n\n## 📜 License\n© 2026 Digital Assam Initiatives. All Rights Reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitdeka%2Faxomprahari","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famitdeka%2Faxomprahari","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitdeka%2Faxomprahari/lists"}