{"id":19920728,"url":"https://github.com/kkanho/medtest_group22","last_synced_at":"2026-04-12T03:32:18.165Z","repository":{"id":219451158,"uuid":"715181319","full_name":"kkanho/MedTest_Group22","owner":"kkanho","description":"A LAMP stack for medical laboratory","archived":false,"fork":false,"pushed_at":"2024-06-19T10:41:47.000Z","size":1025,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T23:45:28.522Z","etag":null,"topics":["apache","docker","docker-compose","javascript","lamp-stack","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/kkanho.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}},"created_at":"2023-11-06T16:23:46.000Z","updated_at":"2024-07-20T10:49:00.000Z","dependencies_parsed_at":"2024-01-27T16:24:20.325Z","dependency_job_id":"92924fd0-39fc-4d4c-871d-cb9aee1d6f44","html_url":"https://github.com/kkanho/MedTest_Group22","commit_stats":null,"previous_names":["kkanho/medtest_group22"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkanho%2FMedTest_Group22","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkanho%2FMedTest_Group22/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkanho%2FMedTest_Group22/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkanho%2FMedTest_Group22/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkanho","download_url":"https://codeload.github.com/kkanho/MedTest_Group22/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241348207,"owners_count":19948157,"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":["apache","docker","docker-compose","javascript","lamp-stack","php"],"created_at":"2024-11-12T22:05:55.355Z","updated_at":"2025-12-31T01:06:26.656Z","avatar_url":"https://github.com/kkanho.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MedTest ![Static Badge](https://img.shields.io/badge/html-%23fff?logo=html5) ![Static Badge](https://img.shields.io/badge/css-%23563D7C?logo=css3) ![Static Badge](https://img.shields.io/badge/JavaScript-%23fff?logo=JavaScript) ![Static Badge](https://img.shields.io/badge/PHP-%23fff?logo=PHP) ![Static Badge](https://img.shields.io/badge/docker-%23384d54?logo=docker)\n\n### MedTest - Group_22\nA docker-compose stack to set up a LAMP stack\n\n# Demonstration videos:\n[![ATM demo](https://img.youtube.com/vi/n8LlYjFBt0w/0.jpg)](https://www.youtube.com/watch?v=n8LlYjFBt0w)\n\n## Available Scripts\n```sh\n#Clone this repository or unzip the repository(MedTest_Group22)\ngit clone https://github.com/kkanho/MedTest_Group22\n\n#change to the correct directory\ncd MedTest_Group22\n\n#Build the server through docker\ndocker-compose up --build\n```\nOpen [http://localhost](http://localhost) to view it in the browser.\n\n#if any errors, try to restart multiple times with the following command\n```sh\ndocker-compose down\n\ndocker-compose up --build\n```\n\n## Query Log\nWe view query log using phpMyAdmin using the following 2 accounts\n| Username | Password |\n|   ----   |   ----   |\n| root     |          |\n| admin    | 123123   |\n\nIn order to view query log using account admin,\ntype the following command in the docker \n```sh\n#locate the image(mysql:latest), get the container id(8815b887d4d7)\ndocker ps\n\n#run commands inside an existing container, with the id(8815b887d4d7) just get\ndocker exec -it 8815b887d4d7 bash\n\n#execute the following command inside the container\nmysql -h localhost -P 3306 -u root\nGRANT ALL PRIVILEGES ON mysql.general_log TO 'admin';\nFLUSH PRIVILEGES;\nexit;\n\n#exit the container\nexit\n```\nTo view log, simple run the following query\n```sql\nSELECT * FROM mysql.general_log\n```\n\n## Features\n- [x] Ability to sign up, login and logout\n- [x] Ability to access table with different privileges(front end)\n- [x] Form query log\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkanho%2Fmedtest_group22","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkanho%2Fmedtest_group22","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkanho%2Fmedtest_group22/lists"}