{"id":21947938,"url":"https://github.com/a3ro-dev/casemanagement","last_synced_at":"2025-07-06T22:32:47.738Z","repository":{"id":264353618,"uuid":"893129544","full_name":"a3ro-dev/CaseManagement","owner":"a3ro-dev","description":"A streamlined application that allows administrators and staff to add, edit, search, and maintain case records with ease. Built with Streamlit and powered by an SQLite database.","archived":false,"fork":false,"pushed_at":"2024-11-25T11:06:50.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T17:09:57.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a3ro-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-11-23T16:02:01.000Z","updated_at":"2024-12-12T12:06:08.000Z","dependencies_parsed_at":"2024-11-23T17:19:21.079Z","dependency_job_id":"bcc1a59d-bf84-4235-a17b-e0166416a797","html_url":"https://github.com/a3ro-dev/CaseManagement","commit_stats":null,"previous_names":["a3ro-dev/casemanagement"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a3ro-dev/CaseManagement","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FCaseManagement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FCaseManagement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FCaseManagement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FCaseManagement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a3ro-dev","download_url":"https://codeload.github.com/a3ro-dev/CaseManagement/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FCaseManagement/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263983350,"owners_count":23539513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-29T05:10:47.457Z","updated_at":"2025-07-06T22:32:47.686Z","avatar_url":"https://github.com/a3ro-dev.png","language":"Python","readme":"# Case Management System\n\n[![Website](https://casemanagement.streamlit.app/)](https://casemanagement.streamlit.app/)\n\n## Overview\n\nThe **Case Management System** is a streamlined application designed to manage legal cases efficiently. Built with Streamlit and powered by an SQLite database, this system allows administrators and staff to add, edit, search, and maintain case records with ease.\n\n## Features\n\n- **User Authentication**: Secure login system with roles for administrators and staff.\n- **Case Management**: Add, edit, delete, and search cases across multiple fields.\n- **Analytics Dashboard**: Real-time metrics on total cases, active cases, districts involved, and recent additions.\n- **Logging**: Action logging for tracking changes and user activities.\n- **Backup Management**: Create and restore database backups with automatic backups after multiple changes.\n- **Responsive Design**: Optimized for various screen sizes with a user-friendly interface.\n\n## Installation\n\n### Prerequisites\n\n- Python 3.11 or higher\n- pip (Python package installer)\n\n### Steps\n\n1. **Clone the Repository**\n\n    ```bash\n    git clone https://github.com/a3ro-dev/case-management-system.git\n    cd case-management-system\n    ```\n\n2. **Create a Virtual Environment**\n\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n    ```\n\n3. **Install Dependencies**\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. **Set Environment Variables**\n\n    Create a `.env` file in the root directory and add the following:\n\n    ```env\n    ADMIN_USERNAME=your_admin_username\n    ADMIN_PASSWORD=your_admin_password\n    STAFF_USERNAME=your_staff_username\n    STAFF_PASSWORD=your_staff_password\n    ```\n\n5. **Initialize the Database**\n\n    The database will be automatically created when you run the application for the first time.\n\n## Usage\n\nRun the Streamlit application using the following command:\n\n```bash\nstreamlit run app.py\n```\n\nOpen your browser and navigate to [https://casemanagement.streamlit.app/](https://casemanagement.streamlit.app/) to access the application.\n\n## Project Structure\n\n### `modules/dbCon.py`\n\nHandles all database operations using `aiosqlite`. This includes connecting to the database, creating tables, and performing CRUD operations on case records.\n\n### `app.py`\n\nThe main Streamlit application that manages user authentication, displays dashboards, handles case management, logging, and backup functionalities. It uses various libraries such as `pandas` for data manipulation and `streamlit_cookies_manager` for managing user sessions.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and create a pull request with your changes.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Acknowledgements\n\n- Built with [Streamlit](https://streamlit.io/)\n- Developed by [a3ro-dev](https://github.com/a3ro-dev)\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa3ro-dev%2Fcasemanagement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa3ro-dev%2Fcasemanagement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa3ro-dev%2Fcasemanagement/lists"}