{"id":49557520,"url":"https://github.com/caio-andres/real-time-chat","last_synced_at":"2026-05-03T05:52:38.346Z","repository":{"id":242155336,"uuid":"808827838","full_name":"caio-andres/real-time-chat","owner":"caio-andres","description":"Real-time chat | Back-end: NestJS + TypeScript + Websockets | Front-end: React with Vite + TypeScript","archived":false,"fork":false,"pushed_at":"2024-06-07T18:40:36.000Z","size":1762,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-08T13:26:17.426Z","etag":null,"topics":["api","json","nestjs","nestjs-backend","react","socket-io","typescript","vite","websocket"],"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/caio-andres.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-05-31T23:08:10.000Z","updated_at":"2024-06-07T18:40:39.000Z","dependencies_parsed_at":"2024-06-03T12:45:31.389Z","dependency_job_id":null,"html_url":"https://github.com/caio-andres/real-time-chat","commit_stats":null,"previous_names":["caio-andres/real-time-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caio-andres/real-time-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caio-andres%2Freal-time-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caio-andres%2Freal-time-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caio-andres%2Freal-time-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caio-andres%2Freal-time-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caio-andres","download_url":"https://codeload.github.com/caio-andres/real-time-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caio-andres%2Freal-time-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32559716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T03:21:47.309Z","status":"ssl_error","status_checked_at":"2026-05-03T03:21:43.884Z","response_time":103,"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":["api","json","nestjs","nestjs-backend","react","socket-io","typescript","vite","websocket"],"created_at":"2026-05-03T05:52:37.755Z","updated_at":"2026-05-03T05:52:38.341Z","avatar_url":"https://github.com/caio-andres.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-time Chat\n\n### Technologies Used\n\n#### `Front-end`\n\n- **Programming Language:** TypeScript\n- **Libraries:**\n  - React.js\n  - socket.io-client\n  - uuid\n  - styled-components\n  - react-icons\n- **Build Tool:** Vite\n\n#### `Back-end`\n\n- **Programming Language:** TypeScript\n- **Framework:** NestJS\n- **Libraries:**\n  - @nestjs/platform-socket.io\n  - @nestjs/websockets\n  - reflect-metadata\n  - rxjs\n\n### Scripts\n\n- **start:** \"vite\" (For Front-end)\n- **build:** \"vite build\" (For Front-end)\n- **test:** \"react-scripts test\" (For Front-end)\n- **start:** \"nest start\" (For Back-end)\n- **build:** \"nest build\" (For Back-end)\n- **lint:** \"eslint \\\"{src,apps,libs,test}/\\*_/_.ts\\\" --fix\" (For Back-end)\n- **test:** \"jest\" (For Back-end)\n\n# Getting started\n\n### `Clone the repository`\n\n```bash\ngit clone https://github.com/caio-andres/real-time-chat.git\n```\n\n### `Run back-end`\n\n#### Open a terminal\n\n```bash\ncd chat-api\n```\n\n```bash\nyarn install\n```\n\n```bash\nnest start --watch\n```\n\n### `Run front-end`\n\n#### Open a second terminal without close the first\n\n```bash\ncd chat-interface\n```\n\n```bash\nyarn\n```\n\n```bash\nyarn start\n```\n\n#### Use the URL `localhost:3000` in your browser\n\n# Architecture Overview\n\n### Back-end:\n\n- Developed using TypeScript with the NestJS framework.\n- Structured with a `src` folder containing modules such as `users`, `auth`, etc., each with its respective controller, service, module, and DTO files.\n- Utilization of decorators and dependency injection for defining routes, middleware, and database connections.\n\n### Front-end:\n\n- Developed in React.js to create the user interface.\n- Structured with a `src` folder containing components, pages, and hooks directories.\n- Components directory holds reusable UI components, pages directory contains pages of the application, and hooks directory stores custom hooks for managing state and side effects.\n- Utilization of styled-components for styling components.\n\n### Communication between back-end and front-end:\n\n- The front-end communicates with the back-end using WebSocket connections.\n- Socket.IO is used for real-time communication between the front-end and back-end.\n\n### Architecture Benefits:\n\n- Strong typing with TypeScript ensures code robustness and reduces runtime errors.\n- NestJS provides a modular and scalable architecture, making it easy to add new features and modules.\n- React.js offers a component-based architecture, enabling reusability and maintainability of UI components.\n- Utilization of styled-components allows for better component styling management and theming.\n\n# Project Developer and README Author\n\n```\n@caio_andress\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaio-andres%2Freal-time-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaio-andres%2Freal-time-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaio-andres%2Freal-time-chat/lists"}