{"id":15597176,"url":"https://github.com/thanhpt1110/chit-chat-backend","last_synced_at":"2025-04-24T06:41:05.521Z","repository":{"id":256586917,"uuid":"854914153","full_name":"thanhpt1110/chit-chat-backend","owner":"thanhpt1110","description":"Backend services for Chit Chat social network","archived":false,"fork":false,"pushed_at":"2025-01-02T14:08:56.000Z","size":251,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T07:51:17.366Z","etag":null,"topics":["aws-ec2","aws-rds","ci-cd-pipeline","clean-architecture","docker","entity-framework-core","net-core","recommendation-system","signalr","social-network","web-rtc"],"latest_commit_sha":null,"homepage":"https://18.138.250.74/swagger/index.html","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/thanhpt1110.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":"2024-09-10T01:28:52.000Z","updated_at":"2025-01-24T12:17:07.000Z","dependencies_parsed_at":"2025-03-07T15:42:49.915Z","dependency_job_id":null,"html_url":"https://github.com/thanhpt1110/chit-chat-backend","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.33333333333333337","last_synced_commit":"7d7f57db9f03c438941e0985ad0961ff4bb4ef38"},"previous_names":["thanhpt1110/chit-chat-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhpt1110%2Fchit-chat-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhpt1110%2Fchit-chat-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhpt1110%2Fchit-chat-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhpt1110%2Fchit-chat-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thanhpt1110","download_url":"https://codeload.github.com/thanhpt1110/chit-chat-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250580723,"owners_count":21453531,"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":["aws-ec2","aws-rds","ci-cd-pipeline","clean-architecture","docker","entity-framework-core","net-core","recommendation-system","signalr","social-network","web-rtc"],"created_at":"2024-10-03T01:20:48.378Z","updated_at":"2025-04-24T06:41:05.499Z","avatar_url":"https://github.com/thanhpt1110.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chit Chat - Backend Services\n\nA backend services for a social networking application, built with `.NET Core` and deployed using `Docker` \u0026 `AWS`. This repository includes all the RESTful APIs and logic required to support core functionalities of the social network, including a **Recommendation System** and **Real-Time Communication** via WebRTC.\n\n---\n\n## ✨ Features\n\n- **Feeds**: Personalized newsfeed based on user activity.\n- **Notifications**: Real-time notifications for interactions.\n- **Real-Time Communication**: Audio/video calls and real-time chat powered by WebRTC.\n- **Recommendation System**: Personalized suggestions for friends, groups, or content using collaborative filtering and user activity analysis.\n- **Search**: Search for users, posts, or hashtags.\n- **Secure Authentication**: Token-based authentication using JWT.\n- **Social Interactions**: Follow/unfollow, posting, and commenting.\n- **User Management**: Registration, login, and profile updates.\n\n---\n\n## 🛠 Tech Stack\n\n- **Framework**: .NET Core (Clean Architecture)\n- **Database**: Amazon Aurora MySQL\n- **Authentication**: JWT (JSON Web Token)\n- **Recommendation System**: Content-based and Collaborative Filtering (e.g., Matrix Factorization, User-Item Similarity)\n- **Real-Time Communication**: WebRTC, SignalR\n- **Containerization**: Docker\n- **Other Tools**: Entity Framework Core, AutoMapper, FluentValidation\n\n---\n\n## 🚀 Installation Guide\n\n### Prerequisites\n\n- Install [Docker](https://www.docker.com/)\n- Install [.NET Core SDK](https://dotnet.microsoft.com/download)\n\n### Steps\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/thanhpt1110/chit-chat-backend\n   cd chit-chat-backend\n   ```\n\n2. **Set up environment variables**:\n   Create a .env file in the `ChitChat.WebAPI` directory with the following content:\n\n   ```bash\n   SecretKey =  # The secret key used for signing and verifying tokens\n   TokenValidityInDays =  # The number of days the token is valid\n   RefreshTokenValidityInDays =  # The number of days the refresh token is valid\n   Issuer =  # The issuer of the token\n   Audience =  # The audience for whom the token is issued\n   CloudinaryCloudName =  # The Cloudinary cloud name\n   CloudinaryApiKey =  # The Cloudinary API key\n   CloudinaryApiSecret =  # The Cloudinary API secret key\n   ```\n\n3. **Build and run with Docker**:\n\n   ```bash\n   docker-compose up --build\n   ```\n\n4. **Access the application**:\n\n   ```bash\n   The backend will be running on http://localhost:8080.\n   ```\n\n5. **Build and run with Docker**:\n\n   ```bash\n   Visit http://localhost:8080/swagger/index.html to explore the API endpoints using Swagger UI.\n   ```\n\n---\n\n## 🤝 Authors\n\n[Nguyễn Phúc Bình](https://github.com/leesoonduck3009)\n\n[Phan Tuấn Thành](https://github.com/thanhpt1110)\n\n[Lê Thanh Tuấn](https://github.com/thtuanlegithub)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanhpt1110%2Fchit-chat-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthanhpt1110%2Fchit-chat-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanhpt1110%2Fchit-chat-backend/lists"}