{"id":22294573,"url":"https://github.com/ping-yuan/logo-backend","last_synced_at":"2026-04-17T19:01:31.868Z","repository":{"id":188580674,"uuid":"668673192","full_name":"Ping-YUAN/logo-backend","owner":"Ping-YUAN","description":"logo games with nestjs and angular ","archived":false,"fork":false,"pushed_at":"2023-08-25T06:33:17.000Z","size":445,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T22:21:20.116Z","etag":null,"topics":["angular","nestjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Ping-YUAN.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":"2023-07-20T10:46:32.000Z","updated_at":"2024-01-17T17:02:52.000Z","dependencies_parsed_at":"2024-12-03T17:40:08.636Z","dependency_job_id":"1210ebae-976a-4c40-bdc3-74ac77ad78bd","html_url":"https://github.com/Ping-YUAN/logo-backend","commit_stats":null,"previous_names":["ping-yuan/logo-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ping-YUAN/logo-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ping-YUAN%2Flogo-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ping-YUAN%2Flogo-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ping-YUAN%2Flogo-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ping-YUAN%2Flogo-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ping-YUAN","download_url":"https://codeload.github.com/Ping-YUAN/logo-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ping-YUAN%2Flogo-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31941845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["angular","nestjs"],"created_at":"2024-12-03T17:37:36.733Z","updated_at":"2026-04-17T19:01:31.762Z","avatar_url":"https://github.com/Ping-YUAN.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#LOGO Backend execise\n\nA game with terminal to draw the result as you want with nestjs and angular.\n\n\u003cimg src=\"./screen.png\"\u003e\n\n## Dev\n\nThis is a monorepo of nestjs and angular.\n\nIf you want to run it:\n\n1. Make sure you have `npm` and `nx` installed, since it's a nx workspace. The project was created with node v16.20.1 and angular v16.\n2. Run `npm install` to install packages. (if you get error when install cypress [ we are not really use it in this project but if we want to make further e2e test we can work it there ], make sure you disable the proxy security software such like: zscaler);\n3. Start server by : `npm run serve` to start the server.\n4. Start client by: `npm run dev` to start the angular application where you can play with a terminal and visualize the result.\n5. Go to browser with `localhost:3000`. Just play with it!\n\nIf you want to perform the test. Please check the `readme.md` in project `front_starter_code`\n\n## Main features\n\n1. a nestjs server with a websockt api to parse and execute the command received from the user.\n2. a simple angular application which can react with the websockt api.\n\nMore details of backend. \u003cbr\u003e\n\nThe main logic of the backend located in [apps/server/src/app/](./apps/server/src/app/) folder. \u003cbr\u003e\nThe [logo-backend.gateway.ts](./apps/server/src/app/logo-backend.gateway.ts) takes the responsibility to handle websocket connection. It is `ws` style as nestjs websocket is built on top of `ws`. \u003cbr\u003e\nThe [logo-backend.service.ts](./apps//server/src/app//logo-backend.service.ts) takes the responsibility to parse and execute the command.\n\n## Script Command in package.json\n\n`dev`: start a watch to angular project. \u003cbr\u003e\n`serve`: start a watch to nestjs server.\u003cbr\u003e\n`format`: format all your code.\n\n## Variable in `.env`\n\nSee the comments in the `.env.template` file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fping-yuan%2Flogo-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fping-yuan%2Flogo-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fping-yuan%2Flogo-backend/lists"}