{"id":16182689,"url":"https://github.com/brianhuster/gamehub","last_synced_at":"2026-01-11T22:59:43.366Z","repository":{"id":244099920,"uuid":"809860067","full_name":"brianhuster/gamehub","owner":"brianhuster","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-15T14:39:07.000Z","size":2799,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T19:30:55.911Z","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/brianhuster.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":"2024-06-03T15:30:00.000Z","updated_at":"2024-09-09T08:10:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"4bf155fb-d5f7-4e61-b3af-a35916f2e32a","html_url":"https://github.com/brianhuster/gamehub","commit_stats":null,"previous_names":["brianhuster/gamehub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianhuster%2Fgamehub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianhuster%2Fgamehub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianhuster%2Fgamehub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianhuster%2Fgamehub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianhuster","download_url":"https://codeload.github.com/brianhuster/gamehub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246758284,"owners_count":20828919,"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-10-10T06:43:37.955Z","updated_at":"2026-01-11T22:59:43.360Z","avatar_url":"https://github.com/brianhuster.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gamehub\nA game hub website using Node.js, ExpressJS, EJS and MySQL created as final project for the subject \"Web Design and Programming\" at Hanoi University of Science and Technology.\n\n## Installation\nMake sure you have Node.js installed on your computer. If not, you can download it [here](https://nodejs.org/en/download/)\n\nDownload this repository\n```\ngit clone https://github.com/brianhuster/gamehub.git\ncd gamehub\n```\n\nInstall the dependencies\n```\nnpm install\n```\n\nInstall mysql server and start it (This instruction is for Ubuntu, for other OS, please refer to the official documentation of MySQL)\n\n` sudo apt update `\n\n` sudo apt install mysql-server `\n\n` sudo service mysql start `\n\nExecute these queries in MySQL\n```\nCREATE USER 'brianhuster'@'localhost' IDENTIFIED BY 'password';\nGRANT ALL PRIVILEGES ON *.* TO 'brianhuster'@'localhost';\nCREATE DATABASE gamehub;\nUSE gamehub;\n```\n\nNow run the file `db/db.sql` in MySQL\n\n```mysql -u brianhuster -p gamehub \u003c db/db.sql```\n\n## Compiles and hot-reloads for development\n```\nnpm run dev\n``` \n\n## Completion Level (self-assessment, based on our Professor's requirements)\n\n| STT | Yêu cầu                                                                                                                         | Điểm | Tự đánh giá     |\n| --- | ------------------------------------------------------------------------------------------------------------------------------- | ---- | --------------- |\n| 1   | Wesite có tối thiểu 5 trang                                                                                                     | 1    | Hoàn thành      |\n| 2   | Lưu trữ dữ liệu bằng database                                                                                                   | 1    | Hoàn thành      |\n| 3   | Có chức năng đăng nhập, đăng xuất của người dùng\u003cbr\u003evới user name, password                                                     | 1    | Hoàn thành      |\n| 4   | Cho phép đăng kí tự do (quyền user) từ một trang\u003cbr\u003eđăng kí                                                                     | 0,5  | Hoàn thành      |\n| 5   | Có sử dụng chức năng layout trên server-side với\u003cbr\u003eheader, footer chung cho các trang                                          | 1    | Hoàn thành      |\n| 6   | Có thanh công cụ ở phần header                                                                                                  | 1    | Hoàn thành      |\n| 7   | Trên thanh công cụ có logo, menu chính, ô hiển thị\u003cbr\u003ethông tin người dùng (nếu đã đăng nhập)                                   | 1    | Hoàn thành      |\n| 8   | Menu có các menu con số xuống di chuột qua                                                                                      | 1    | Hoàn thành      |\n| 9   | Tạo moojt nút hình tròn với biểu tượng mũi tên nhỏ và\u003cbr\u003eluôn nối ở góc phải dưới màn hình, khi ấn cho cuốn lên\u003cbr\u003eđầu trang    | 1    | Hoàn thành      |\n| 10  | Bình thường mờ 50%, khi trỏ chuột lên thì hiện rõ                                                                               | 0,5  | Hoàn thành      |\n| 11  | Sử dụng hiếu ứng box-shadow, border-radius, gradient\u003cbr\u003etransition, animation                                                   | 0,5  | Hoàn thành      |\n| 12  | Hiển thị nội dung khác nhau theo mã ủa nội dung ( sản\u003cbr\u003ephẩm/bàiviết/...-tuỳ theo website lựa chọn gì)                         | 1    | Hoàn thành      |\n| 13  | Có form bình luân và đáng giá cho nội dung đang xem\u003cbr\u003evới các thông tin tên người, email, nội dung\u003cbr\u003ebình luận, điểm đánh giá | 1    | Hoàn thành      |\n| 14  | Kiể tra bình luận ko nhân một số cụm từ xấu trong một\u003cbr\u003edanh sách cho trước. Nếu có cụm từ xấu thì ko cho nộp                  | 1    | Hoàn thành      |\n| 15  | Submiit form bằng AJAX/fetch                                                                                                    | 0,5  | Hoàn thành      |\n| 16  | Các bình luận và đánh giá sau khi gửi sẽ được hiển thị\u003cbr\u003ecông khai                                                             | 1    | Hoàn thành      |\n| 17  | Ở trang chủ, sau 1' từ khi mở trang thì hiện quảng cáo\u003cbr\u003emột sản phẩm định trc dưới dạng popup                                 | 1    | Hoàn thành      |\n| 18  | Khi người dùng ấn nút đóng popup, thì lần sau mở tra\u003cbr\u003eng sẽ ko hiên lại popup này nữa (sd cookie)                             | 0,5  | Hoàn thành      |\n| 19  | Trang thông tin liên hê và giới thiệu                                                                                           | 1    | Hoàn thành      |\n| 20  | Thoong tin giới thiệu                                                                                                           | 1    | Hoàn thành      |\n| 21  | Thông tin liên hệ                                                                                                               | 1    | Hoàn thành      |\n| 22  | Form gửi ý kiến liên hệ                                                                                                         |      | Hoàn thành      |\n| 23  | Trang quản trị                                                                                                                  | 1    | Hoàn thành      |\n| 24  | Hiển thị số lượng view của Web                                                                                                  | 0,5  | Hoàn thành      |\n| 25  | Cho phép cập nhật nội dung                                                                                                      | 1    | Hoàn thành      |\n| 26  | Cho phép hiện danh sách xoá bình luận ng dùng                                                                                   | 1    | Hoàn thành      |\n| 27  | Giao diện responsive cho người dùng tuỳ chỉnh layout                                                                            | 1    | Hoàn thành      |\n| 28  | Với 3 ngưỡng phân biệt bới cac giá trị 800px,1200px                                                                             | 1    | Hoàn thành      |\n| 29  | Menu chính hiển thị theo dạng sổ xuống với màn hình\u003cbr\u003elớn và chỉ hiện biểu tượng với màn hình nhỏ                              | 0,5  | Chưa hoàn thành |\n|     |                                                                                                                                 |      |                 |\n| 1   | Điểm cộng tổ chức project                                                                                                       | 1    | Hoàn thành      |\n| 2   | Hệ số tự làm, không dùng thư viện ngoài                                                                                         | 1    | Hoàn thành      |\n| 3   | Trình bày và thiết kế giao diện                                                                                                 | 0.3/1  |                 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianhuster%2Fgamehub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianhuster%2Fgamehub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianhuster%2Fgamehub/lists"}