{"id":23170825,"url":"https://github.com/waynejz/comp9041-18s2","last_synced_at":"2025-08-16T16:03:33.639Z","repository":{"id":35818516,"uuid":"179639148","full_name":"WayneJz/COMP9041-18S2","owner":"WayneJz","description":"COMP9041 Software Construction 2018S2","archived":false,"fork":false,"pushed_at":"2022-11-22T03:13:44.000Z","size":15453,"stargazers_count":2,"open_issues_count":2,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-16T16:02:12.696Z","etag":null,"topics":["frontend","javascript","perl","shell"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/WayneJz.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}},"created_at":"2019-04-05T07:44:23.000Z","updated_at":"2020-04-29T06:26:03.000Z","dependencies_parsed_at":"2023-01-16T07:15:17.808Z","dependency_job_id":null,"html_url":"https://github.com/WayneJz/COMP9041-18S2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WayneJz/COMP9041-18S2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WayneJz%2FCOMP9041-18S2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WayneJz%2FCOMP9041-18S2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WayneJz%2FCOMP9041-18S2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WayneJz%2FCOMP9041-18S2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WayneJz","download_url":"https://codeload.github.com/WayneJz/COMP9041-18S2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WayneJz%2FCOMP9041-18S2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270734952,"owners_count":24636271,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"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":["frontend","javascript","perl","shell"],"created_at":"2024-12-18T04:15:10.200Z","updated_at":"2025-08-16T16:03:33.596Z","avatar_url":"https://github.com/WayneJz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COMP9041-18S2\nCOMP9041 Software Construction 2018S2\n\n**ALL CODES SHOULD BE APPROPRIATELY REFERENCED, COPYING MAY RESULT IN PLAGIARISM**\n\nLecturer: Andrew Taylor\n\n## Main content\n\n1. **Shell**: Unix process, basic shell commands (cut, sort, sed, tr ...) and more in regex. Shell syntax (3 types of quotes, condition, loop, test...)\n\n2. **Perl**: Perl syntax, special symbols and special variables, functions (subroutines) definition and calls, strings, arrays and hash arrays. Perl regex and file handling. Perl Modules and CPAN.\n\n3. **Git**: Version control and git commands, merge conflict and branches.\n\n4. **Webserver**: Perl TCP/IP socket programming, simple HTTP server. Perl multiprocessing and webCGI.\n\n5. **JavaScript**: Node.js environment, Node modules. JavaScript syntax and ES6 syntax. Frontend DOM, query, promise and async functions, error/exception handling.\n\n## Assignments\n\n1. [Legit](./Assignment01/legit.pl) - Build a Git system by using Perl, having such functions implemented:\n\n    - git init\n    - git add\n    - git commit [-a] [-m]\n    - git log\n    - git show\n    - git rm [--force] [--cached]\n    - git status\n    - git branch [-d]\n    - git checkout\n    - git merge [-m]\n\n    **To run the code, simply type `./legit.pl` for instructions.**\n\n2. [InstaCram](./Assignment02/Instacram/frontend/index.html) - Build frontend for a photo sharing website in pure Node.js, having such functions implemented:\n\n    - User log in, sign out and register by using tokens\n    - User post a photo\n    - User like a photo\n    - User leave comments of a photo\n    - User delete or update a post of photo\n    - User's home page\n    - User search for another user\n    - User follow/unfollow another user\n    - Infinite Scrolls and live update\n\n    **To run the codes, please follow such steps:**\n    \n    1. Open a terminal type `cd Assignment02/Instacram/backend` and `pip3 install -r requirements.txt`\n    2. `python3 run.py`\n    3. Open another terminal type `cd Assignment02/Instacram/frontend` and `npm install`\n    4. `npm start`\n\n## Credits\n\nAll lecture/tutorial slides and materials come from the lecturer. Assignment 2 backend comes from Alex Hinds and Zain Afzal. Please ask them before referencing. I will take no responsibility for misuse.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynejz%2Fcomp9041-18s2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaynejz%2Fcomp9041-18s2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynejz%2Fcomp9041-18s2/lists"}