{"id":16230203,"url":"https://github.com/baygeldin/tic-tac-toe","last_synced_at":"2026-04-14T19:32:26.139Z","repository":{"id":78832510,"uuid":"86843454","full_name":"baygeldin/tic-tac-toe","owner":"baygeldin","description":"Test assignment for a JavaScript developer job (React, Redux, Webpack, Karma, Mocha, Chai, Sinon, Enzyme, CSS Modules, Koa, WebSockets \u0026 WebRTC).","archived":false,"fork":false,"pushed_at":"2017-04-28T21:22:19.000Z","size":3296,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T05:46:17.977Z","etag":null,"topics":["bdd","javascript","nodejs","react","socket-io","webaudio","webpack","webrtc","websockets"],"latest_commit_sha":null,"homepage":"https://tic-tac-toe-kek.herokuapp.com","language":"JavaScript","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/baygeldin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-31T17:19:51.000Z","updated_at":"2022-02-24T23:03:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"37622580-0c97-4273-9f68-837c8000d1d6","html_url":"https://github.com/baygeldin/tic-tac-toe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/baygeldin/tic-tac-toe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baygeldin%2Ftic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baygeldin%2Ftic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baygeldin%2Ftic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baygeldin%2Ftic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baygeldin","download_url":"https://codeload.github.com/baygeldin/tic-tac-toe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baygeldin%2Ftic-tac-toe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31812968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"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":["bdd","javascript","nodejs","react","socket-io","webaudio","webpack","webrtc","websockets"],"created_at":"2024-10-10T13:00:38.892Z","updated_at":"2026-04-14T19:32:26.121Z","avatar_url":"https://github.com/baygeldin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tic-tac-toe [![Build Status](https://travis-ci.org/baygeldin/tic-tac-toe.svg?branch=master)](https://travis-ci.org/baygeldin/tic-tac-toe)\nThis is a test assignment for a JavaScript developer job. It is a simple tic-tac-toe game with WebSockets and WebRTC chats written in JavaScript using React and Node.js.\n\n## Screenshots\n![menu](https://cloud.githubusercontent.com/assets/6882605/24894788/41036fbe-1e95-11e7-95b9-b6c6f29863bc.PNG)\n![game](https://cloud.githubusercontent.com/assets/6882605/24894785/3e624e88-1e95-11e7-901e-062a0bcfafe2.PNG)\n\n## Requirements\n* Node.js \u003e= 7.6.0\n* Chrome or Firefox for WebRTC video chat\n\n## Running tests\n```sh\n$ npm install\n$ npm test\n```\n\n## Running on localhost\n```sh\n$ npm install\n$ npm watch\n```\nThis will start nodemon and webpack-dev-server (with hot reloading). Visit `http://localhost:3000` (or provide another port with PORT environment variable). **Note:** WebRTC video chat will work only on localhost in Chrome. If you want to access the server from another computer in your subnetwork you will have to either configure HTTPS or start a reverse HTTP proxy like so (nginx configuration):\n```nginx\nserver {\n  listen 3000;\n  server_name localhost;\n\n  location / {\n    proxy_pass http://192.168.0.2:3000;\n  }\n\n  location /socket.io/ {\n    proxy_pass http://192.168.0.2:3000;\n    proxy_http_version 1.1;\n    proxy_set_header Upgrade $http_upgrade;\n    proxy_set_header Connection \"upgrade\";\n  }\n}\n    \nserver {\n  listen 9000;\n  server_name localhost;\n\n  location / {\n    proxy_pass http://192.168.0.2:9000;\n  }\n\n  location /sockjs-node/ {\n    proxy_pass http://192.168.0.2:9000;\n    proxy_http_version 1.1;\n    proxy_set_header Upgrade $http_upgrade;\n    proxy_set_header Connection \"upgrade\";\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaygeldin%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaygeldin%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaygeldin%2Ftic-tac-toe/lists"}