{"id":31729832,"url":"https://github.com/knetic0/mesk-chat-application","last_synced_at":"2026-05-07T13:04:46.009Z","repository":{"id":315388275,"uuid":"1055755302","full_name":"knetic0/mesk-chat-application","owner":"knetic0","description":"⚡️Mini chat application built with Clean Architecture, CQRS, MediatR, SignalR, React, TanStack Router \u0026 Query, and JWT authentication. Features include Login/Register and real-time messaging between users.","archived":false,"fork":false,"pushed_at":"2025-09-18T08:56:03.000Z","size":4414,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-18T10:37:16.881Z","etag":null,"topics":["chat-application","clean-architecture","cqrs","csharp","jwt","mediatr","postgresql","reactjs","signalr","tanstack","websocket"],"latest_commit_sha":null,"homepage":"","language":"C#","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/knetic0.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-12T18:49:34.000Z","updated_at":"2025-09-18T08:56:07.000Z","dependencies_parsed_at":"2025-09-18T10:48:49.191Z","dependency_job_id":null,"html_url":"https://github.com/knetic0/mesk-chat-application","commit_stats":null,"previous_names":["knetic0/mesk-chat-application"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/knetic0/mesk-chat-application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knetic0%2Fmesk-chat-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knetic0%2Fmesk-chat-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knetic0%2Fmesk-chat-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knetic0%2Fmesk-chat-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knetic0","download_url":"https://codeload.github.com/knetic0/mesk-chat-application/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knetic0%2Fmesk-chat-application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000985,"owners_count":26082972,"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-10-09T02:00:07.460Z","response_time":59,"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":["chat-application","clean-architecture","cqrs","csharp","jwt","mediatr","postgresql","reactjs","signalr","tanstack","websocket"],"created_at":"2025-10-09T07:18:00.491Z","updated_at":"2025-10-09T07:18:02.564Z","avatar_url":"https://github.com/knetic0.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MeskChat\n\nA modern, full-stack chat application enabling real-time messaging between users using SignalR. The project is fully dockerized for easy local development and deployment.\n\n## Table of Contents\n\n- [Features](#features)\n- [Tech Stack](#tech-stack)\n- [Architecture](#architecture)\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n---\n\n## Screenshots From Application\n\n\u003cdiv align=\"center\" style=\"background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%); padding: 32px 0; border-radius: 24px; box-shadow: 0 8px 32px #0001;\"\u003e\n  \u003ch3\u003e✨ Application Screenshots\u003c/h3\u003e\n  \u003cdiv style=\"display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 24px;\"\u003e\n    \u003cdiv style=\"background: #fff; border-radius: 20px; box-shadow: 0 4px 24px #0002; padding: 16px; width: 370px;\"\u003e\n      \u003cimg src=\"./assets/login_dark_en.png\" alt=\"Login Screen (Dark, EN)\" style=\"border-radius:12px; width:100%;\" /\u003e\n      \u003cdiv style=\"margin-top:8px; font-weight:500; font-size:1.1em;\"\u003e🔒 Login (Dark, EN)\u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv style=\"background: #fff; border-radius: 20px; box-shadow: 0 4px 24px #0002; padding: 16px; width: 370px;\"\u003e\n      \u003cimg src=\"./assets/register_light_tr.png\" alt=\"Register Screen (Light, TR)\" style=\"border-radius:12px; width:100%;\" /\u003e\n      \u003cdiv style=\"margin-top:8px; font-weight:500; font-size:1.1em;\"\u003e📝 Register (Light, TR)\u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv style=\"background: #fff; border-radius: 20px; box-shadow: 0 4px 24px #0002; padding: 16px; width: 760px;\"\u003e\n      \u003cimg src=\"./assets/chat_index_dark_en.png\" alt=\"Chat List (Dark, EN)\" style=\"border-radius:12px; width:100%;\" /\u003e\n      \u003cdiv style=\"margin-top:8px; font-weight:500; font-size:1.1em;\"\u003e💬 Chat List (Dark, EN)\u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv style=\"background: #fff; border-radius: 20px; box-shadow: 0 4px 24px #0002; padding: 16px; width: 370px;\"\u003e\n      \u003cimg src=\"./assets/chat_dark_en.png\" alt=\"Chat (Dark, EN)\" style=\"border-radius:12px; width:100%;\" /\u003e\n      \u003cdiv style=\"margin-top:8px; font-weight:500; font-size:1.1em;\"\u003e💬 Chat (Dark, EN)\u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv style=\"background: #fff; border-radius: 20px; box-shadow: 0 4px 24px #0002; padding: 16px; width: 370px;\"\u003e\n      \u003cimg src=\"./assets/chat_dark_light_tr_en.png\" alt=\"Chat (Dark/Light, TR/EN)\" style=\"border-radius:12px; width:100%;\" /\u003e\n      \u003cdiv style=\"margin-top:8px; font-weight:500; font-size:1.1em;\"\u003e💬 Chat (Dark/Light, TR/EN)\u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv style=\"background: #fff; border-radius: 20px; box-shadow: 0 4px 24px #0002; padding: 16px; width: 760px;\"\u003e\n      \u003cimg src=\"./assets/scalar.png\" alt=\"API Reference UI\" style=\"border-radius:12px; width:100%;\" /\u003e\n      \u003cdiv style=\"margin-top:8px; font-weight:500; font-size:1.1em;\"\u003e⚡️ API Reference UI\u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n## Features\n\n- Real-time chat between users powered by SignalR\n- User authentication (JWT-based)\n- User status (online/offline) tracking\n- Message read receipts\n- Password reset and email notifications\n- Modern, responsive UI\n\n---\n\n## Tech Stack\n\n**Backend (API):**\n- .NET 9 (C#)\n- ASP.NET Core Web API\n- SignalR (real-time communication)\n- MediatR (CQRS pattern)\n- Entity Framework Core (PostgreSQL)\n- Autofac (DI)\n- FluentValidation\n- JWT Authentication\n- Docker\n\n**Frontend (Client):**\n- React (TypeScript)\n- Vite (build tool)\n- TanStack Router \u0026 React Query\n- SignalR JS Client\n- Orval (OpenAPI client generation)\n- Tailwind CSS (UI styling)\n- Docker\n\n**Database:**\n- PostgreSQL (Dockerized)\n\n---\n\n## Architecture\n\n- **MeskChatApplication**: Contains all backend logic, including API endpoints, SignalR hub, authentication, user and message management, and database migrations.\n- **MeskChatClient**: Frontend React app for user interaction, chat UI, authentication, and real-time updates.\n- **docker-compose.yml**: Orchestrates the API, client, and database containers for seamless local development.\n\n### SignalR Flow\n\n- Users connect to the SignalR hub (`/chat`) after authentication.\n- Messages are sent and received in real-time.\n- User status changes (online/offline) are broadcast to other users.\n- Read receipts and message events are handled via SignalR.\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- Docker \u0026 Docker Compose installed\n\n### Local Development\n\n1. **Clone the repository:**\n\t```bash\n\tgit clone https://github.com/knetic0/mesk-chat-application.git\n\tcd mesk-chat-application\n\t```\n\n2. **Start all services with Docker Compose:**\n\t```bash\n\tdocker-compose up --build\n\t```\n\n\t- The client will be available at [http://localhost:3000](http://localhost:3000)\n\t- The API will be available at [http://localhost:5254](http://localhost:5254)\n\t- PostgreSQL runs on port `5432`\n\n3. **Access the application:**\n\t- Open your browser and navigate to [http://localhost:3000](http://localhost:3000)\n\t- Register a new user and start chatting!\n\n---\n\n## Usage\n\n- **Register/Login:** Create an account or log in.\n- **Chat:** Select a user and start a real-time conversation.\n- **Status:** See online/offline status of users.\n- **Password Reset:** Use the forgot password feature to reset your password via email.\n\n---\n\n## Project Structure\n\n```\nMeskChatApplication/   # Backend (.NET, SignalR, API)\nMeskChatClient/        # Frontend (React, SignalR JS)\ndocker-compose.yml     # Docker orchestration\n```\n\n---\n\n## Contributing\n\nContributions are welcome! Please open issues or submit pull requests for improvements or bug fixes.\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\n**Docker Notes:**\n- All environment variables (e.g., database connection) are pre-configured for local development.\n- Data is persisted in a Docker volume (`db_data`).\n- For production, update secrets and environment variables accordingly.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknetic0%2Fmesk-chat-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknetic0%2Fmesk-chat-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknetic0%2Fmesk-chat-application/lists"}