{"id":21404678,"url":"https://github.com/awebcode/chatvia_2_mern_socket_next_ts","last_synced_at":"2026-01-03T01:53:10.366Z","repository":{"id":217329434,"uuid":"743609000","full_name":"awebcode/chatvia_2_mern_socket_next_ts","owner":"awebcode","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-15T16:23:51.000Z","size":64637,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T03:33:22.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://chatvia-2.vercel.app","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/awebcode.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}},"created_at":"2024-01-15T15:46:35.000Z","updated_at":"2024-04-17T16:00:00.000Z","dependencies_parsed_at":"2024-01-15T20:41:52.676Z","dependency_job_id":null,"html_url":"https://github.com/awebcode/chatvia_2_mern_socket_next_ts","commit_stats":null,"previous_names":["md-asikur-rahman2/chatvia_2_mern_socket_next_ts","awebcode/chatvia_2_mern_socket_next_ts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fchatvia_2_mern_socket_next_ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fchatvia_2_mern_socket_next_ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fchatvia_2_mern_socket_next_ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fchatvia_2_mern_socket_next_ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awebcode","download_url":"https://codeload.github.com/awebcode/chatvia_2_mern_socket_next_ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902293,"owners_count":20366259,"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-11-22T16:17:19.287Z","updated_at":"2026-01-03T01:53:10.342Z","avatar_url":"https://github.com/awebcode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatVia\n\n- **Checkout branch \"Full-Project\" for full of project (front-end, back-end and socket.io)**\n\n---\n\n## Quick Links\n\n[Demo](#demo)\n\n- [Live Site Demo](#live-site-demo)\n\u003c!-- - [Video Demo](#video-demo) --\u003e\n\n[Tech Stack](#tech-stack)\n\n[Implementation Hightlights](#implementation-highlights)\n\n- [User Stories](#user-stories)\n- [Current Plans for Expansion](#current-plans-for-expansion)\n- [Future Plans for Expansion](#future-plans-for-expansion)\n\n[Getting Started](#getting-started)\n\n- [Prerequisites](#prerequisites)\n\n  - [Tools \u0026 Versions](#tools-\u0026-versions)\n\n- [Serving Application](#serving-application)\n\n  - [Web Client](#web-client)\n\n[Deployment](#deployment)\n\n[Author](#author)\n\n---\n\n## Demo\n\n### Live Site Demo\n\nDemo: [Link](https://chat-via-web.vercel.app/)\n\n\u003c!-- ### Video Demo --\u003e\n\n\u003c!-- ![demogif](https://github.com/yuchiu/netflix-clone/blob/master/netflix-clone-optimize-gif-demo.gif) --\u003e\n\n---\n\n## Tech Stack\n\n- React - Typescript - Next-JS\n  - Web client development\n- Redux - Redux Toolkit - Redux Toolkit Query\n  - Client-side data management and fetching\n- NodeJS - ExpressJs\n  - Web server development\n- MongoGB\n  - Persisted database for users\n- Socket.IO\n  - Real-time server communication\n\n---\n\n## Implementation Highlights\n\n- `Front-end Technologies`: React, TypeScript, and Next.js were used to develop the web client, ensuring a robust and efficient user interface.\n- `State Management`: Redux, Redux Toolkit, and Redux Toolkit Query were employed for effective client-side data management and seamless data fetching from the server.\n- `Back-end Framework`: The Node.js framework with Express.js was chosen to build a scalable and high-performance web server.\n- `Database`: MongoDB was used as the persisted database, providing a secure and reliable storage solution for managing user data.\n- `Real-time` Communication: Socket.IO was integrated to establish real-time communication between the server and clients, enabling instant updates and notifications.\n- `Code Quality`: ESLint was implemented for code linting, ensuring consistent code style and identifying potential errors or issues early in the development process.\n- `Commit Conventions`: Commitlint and Husky were utilized to enforce commit message conventions and pre-commit hooks, promoting code quality and maintainability.\n- `Code Analysis`: SonarCloud was integrated for static code analysis and code quality checks, allowing continuous monitoring and improvement of code quality. It helps identify code smells, bugs, vulnerabilities, and maintain a high level of code quality.\n- `Documentation`: The codebase was documented with clear and concise comments, enhancing code readability and facilitating future maintenance and updates.\n\n---\n\n## User Stories\n\n### Auth page\n\n- Users can create an account and log in to the chat messaging web application.\n- Users are able to logout from the chat messaging web application.\n\n### Main chat page\n\n- Users are able to **receive real-time** notifications for new messages.\n- Users are able to **send text** messages, emojis, and images in a conversation.\n- Users are able to **change the primary emoji** in a conversation.\n- Users are able to **edit and delete messages** that they have sent.\n- Users are able to **view all the images** they have shared in a conversation.\n- Users can **block conversations**. When a conversation is blocked, users cannot send any messages until they unblock it.\n- Users are able to **pin** or **unpin** a message.\n\n### Available conversation section\n\n- Users can see who is **online** or **offline**.\n- Users are able to **start a new conversation** with a contact by providing their email.\n- Users are able to **delete a conversation**. After a conversation is deleted, the latest message will be the message sent after the deletion.\n\n### Pending conversation section\n\n- When a conversation is created, it has a `pending` status, and it can move to the main chat page only the user **accepts** the conversation.\n- When the conversation is `accept`, contact automatically added\n\n### Profile section\n\n- Users are able to **customize their profile**.\n\n### Contact section\n\n- Users are able to **search in their contact** list.\n- Users are able to **view their contact list**.\n\n### Other\n\n- Users can **switch between multiple languages**.\n- Users can **switch between a dark or light theme**.\n\n---\n\n### Current Plans for Expansion\n\n- Containerize services and database with Docker\n\n### Future Plans for Expansion\n\n- Video call online 1-1\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n**!important** .env file is required for setting up environment variables for this project  \n an example of .env file is located at root directory\n\n#### Tools \u0026 Versions\n\n| Tools  | Versions |\n| ------ | -------- |\n| yarn   | 1.22.19  |\n| nodejs | v16.20.0 |\n\n#### Web Client\n\n- clone project\n\n```terminal\ngit clone https://github.com/ngoc2003/ChatVia.git\n\ncd ChatVia/\n\ngit checkout -b Full-code\n\ngit pull origin Full-code\n```\n\n- install dependencies \u0026 start server\n\n```terminal\ncd server/\n\nyarn install\n\nyarn start\n```\n\nServer will be running on `http://localhost:4000`\n\n- install dependencies \u0026 start socket server\n\n```terminal\ncd socket/\n\nyarn install\n\nyarn server\n```\n\nServer will be running on `http://localhost:5000`\n\n- install dependencies \u0026 start application\n\n```terminal\ncd client/\n\nyarn install\n\nyarn dev\n```\n\nApplication will be serving on `http://localhost:3000`\n\n---\n\n## Deployment\n\n- Not setup yet\n\n---\n\n## Author\n\n- [Bui Ngoc](https://www.facebook.com/Bui.Ngoc.1302/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawebcode%2Fchatvia_2_mern_socket_next_ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawebcode%2Fchatvia_2_mern_socket_next_ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawebcode%2Fchatvia_2_mern_socket_next_ts/lists"}