{"id":22059854,"url":"https://github.com/raphaeleg/comp3278_g12","last_synced_at":"2026-05-18T09:08:12.364Z","repository":{"id":158876120,"uuid":"548678950","full_name":"raphaeleg/COMP3278_G12","owner":"raphaeleg","description":"COMP3278 Introduction to database management systems – Group 12","archived":false,"fork":false,"pushed_at":"2022-11-17T08:03:32.000Z","size":19874,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T03:50:28.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/raphaeleg.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}},"created_at":"2022-10-10T02:33:03.000Z","updated_at":"2022-11-17T07:41:57.000Z","dependencies_parsed_at":"2023-06-12T00:15:35.718Z","dependency_job_id":null,"html_url":"https://github.com/raphaeleg/COMP3278_G12","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raphaeleg/COMP3278_G12","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaeleg%2FCOMP3278_G12","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaeleg%2FCOMP3278_G12/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaeleg%2FCOMP3278_G12/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaeleg%2FCOMP3278_G12/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphaeleg","download_url":"https://codeload.github.com/raphaeleg/COMP3278_G12/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaeleg%2FCOMP3278_G12/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33172173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-30T17:33:34.508Z","updated_at":"2026-05-18T09:08:12.330Z","avatar_url":"https://github.com/raphaeleg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COMP3278_G12\n\n\n# Intelligent Course Management System (ICMS)\n\nCOMP3278 Introduction to database management systems – Group 12  \nhttps://github.com/raphaeleg/COMP3278_G12\n\n## Screenshots\n![login](./docs/login.png)\n\n![face_recog](./docs/face_recog.png)\n\n![home_1](./docs/home_1.png)\n\n![home_2](./docs/home_2.png)\n\n![login_history](./docs/login_history.png)\n\n![email_noti](./docs/email_noti.png)\n\n![email_content](./docs/email_content.png)\n\n\n## Project Structure\n\n    .\n    ├── data_files                      # Database tables data\n    │   └── ...\n    ├── ui_files\n    │   ├── FaceRecognition             # Face recognition\n    │   │   ├── data                    # Raw photos for face recognition training\n    │   │   ├── face_capture.py         # Collect face data\n    │   │   └── train.py                # Train face recognition models\n    │   ├── ...\n    │   └── main.py                     # Application entry point\n    ├── COMP3278-1A_Lecture_1...\n    ├── COMP3278-1A_Lecture_2...\n    ├── GroupDB.sql                     # SQL for Database tables creation\n    ├── README.md\n    ├── data.sql                        # SQL for database tables data insertion\n    └── temp.pdf\n\n## Database Setup\n\nYou need to create a mysql database manually first before starting the app.\n\nFirst, create database by running GroupDB.sql.\n\nSecond, insert data for tables in database by running data.sql. The data files mentioned in data.sql are stored in the folder \"data_files\". See the below link for enable loading local data.  \nhttps://stackoverflow.com/questions/59993844/error-loading-local-data-is-disabled-this-must-be-enabled-on-both-the-client\n\n## Setting Up Development Environment\n\n### Python 3.7/3.8\nConda environments can be used in by creating and activating a new conda environment  \n1. Install python dependencies, the requirements.txt is in ui_files\\FaceRecognition directory\n\n```bash\npip install -r requirements.txt\n```\n\n2. Install PyQt5 package\n\n```bash\npip install PyQt5\n```\n\n### Environment variables\n\nAll environment variables are stored directly in `main.py`.\nThis is where we store sensitive information, such as database login information.\n\n1. Change / fill in the missing information, such as database login username and password.\n```py\nconn = mysql.connector.connect(\n    host=\"localhost\", user=\"root\", passwd=\"\", database=\"3278_GroupProject\"\n)\n\n\nself.myconn = mysql.connector.connect(\n            host=\"localhost\",\n            user=\"root\",\n            passwd=\"\",\n            database=\"3278_GroupProject\",\n        )\n```\n\n## Run Application\n```bash\npython main.py\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaeleg%2Fcomp3278_g12","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphaeleg%2Fcomp3278_g12","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaeleg%2Fcomp3278_g12/lists"}