{"id":15661327,"url":"https://github.com/realtimechatapplication/real_time_chat_mern","last_synced_at":"2025-05-05T21:48:35.379Z","repository":{"id":211579708,"uuid":"719196536","full_name":"RealTimeChatApplication/Real_time_Chat_MERN","owner":"RealTimeChatApplication","description":"Real-time chat application with advanced functionality built using the MERN stack. It provides users with a seamless and interactive chatting experience.","archived":false,"fork":false,"pushed_at":"2023-11-15T16:55:59.000Z","size":68,"stargazers_count":26,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-04T13:26:57.602Z","etag":null,"topics":["chat","expressjs","mern-project","mern-stack","mongodb","nodejs","react","real-time","socket-io"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/RealTimeChatApplication.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}},"created_at":"2023-11-15T16:54:48.000Z","updated_at":"2024-10-03T12:27:58.000Z","dependencies_parsed_at":"2023-12-09T14:34:33.249Z","dependency_job_id":null,"html_url":"https://github.com/RealTimeChatApplication/Real_time_Chat_MERN","commit_stats":null,"previous_names":["dodger213/real_time_chat_mern","btc415/real_time_chat_mern","realtimechatapplication/real_time_chat_mern"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealTimeChatApplication%2FReal_time_Chat_MERN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealTimeChatApplication%2FReal_time_Chat_MERN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealTimeChatApplication%2FReal_time_Chat_MERN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealTimeChatApplication%2FReal_time_Chat_MERN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RealTimeChatApplication","download_url":"https://codeload.github.com/RealTimeChatApplication/Real_time_Chat_MERN/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221145921,"owners_count":16763937,"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":["chat","expressjs","mern-project","mern-stack","mongodb","nodejs","react","real-time","socket-io"],"created_at":"2024-10-03T13:27:06.860Z","updated_at":"2024-10-23T01:44:02.926Z","avatar_url":"https://github.com/RealTimeChatApplication.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Let's Chat\n\nA real-time chat application. Another fun side project :)\n\n![Screenshot from 2022-09-07 16-27-25](https://user-images.githubusercontent.com/66206865/188901222-8eefabe5-8ca2-4305-aeb3-3afa37b304b3.png)\n\n![Screenshot from 2022-09-07 17-11-16](https://user-images.githubusercontent.com/66206865/188900580-01d0d3ca-b242-4f48-99cf-96edeeb5f1db.png)\n\nGIFs are attached at the end.\n\n## Technologies Used\n\n- React and TailwindCSS for the frontend\n- Firebase for authentication\n- Node/Express for creating API endpoints\n- MongoDB for storing chat room members and their messages\n- Socket.io for making the app real-time\n\n## Basic Features\n\n- Users can register/login via email and password.\n- Profile page where users can update their avatar and display name.\n- Generate random avatars using [DiceBear API](https://avatars.dicebear.com/docs/http-api)\n- Users can create a room to chat with others.\n- Users can see online status.\n- Search functionality.\n- Chatting is real-time.\n- Emoji picker is also integrated.\n- Dark mode can be enabled.\n\n## Getting Started\n\nTo run this project locally, follow these steps:\n\n1. Clone the repository.\n2. Install the dependencies:\n   - Navigate to the `frontend` directory and run `npm install`.\n   - Navigate to the `server` directory and run `npm install`.\n3. Set up Firebase:\n   - Go to the [Firebase Console](https://console.firebase.google.com/).\n   - Create a new project or select an existing one.\n   - Go to the project settings or service accounts section.\n   - Click on \"Generate new private key\" or a similar option.\n   - Save the downloaded JSON file as `serviceAccountKey.json`.\n   - Place the downloaded `serviceAccountKey.json` file in the `server/config` directory.\n4. Set up Environment Variables:\n   - In the `frontend` directory, create a new file named `.env` based on the `.env.example` file.\n   - Update the values of the environment variables in the `.env` file with your Firebase configuration details.\n   - In the root directory, create a new file named `.env` based on the `.env.example` file.\n   - Update the values of the environment variables in the `.env` file according to your preferences. For example, set the `PORT` variable to specify the desired port for the server and set `MONGO_URI` to your MongoDB connection URI.\n5. Run the server:\n   - Navigate to the `server` directory and run `npm run start`.\n6. Run the client:\n   - Navigate to the `frontend` directory and run `npm start`.\n7. The application will be accessible at `http://localhost:3000`.\n\nPlease make sure to keep the `serviceAccountKey.json` file and sensitive information secure and not commit them to version control.\n\n## GIFs\n\n![chrome-capture-2022-8-7](https://user-images.githubusercontent.com/66206865/188901119-65a05b65-3c76-4c3f-92c5-042d061df8e1.gif)\n\n![chrome-capture-2022-8-7 (1)](https://user-images.githubusercontent.com/66206865/188900841-2dfe91c2-eb78-4f70-a013-babe0124ee68.gif)\n\n![chrome-capture-2022-8-7 (2)](https://user-images.githubusercontent.com/66206865/188900662-a120aef4-ced1-442b-98dd-ab90b4cea7b5.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealtimechatapplication%2Freal_time_chat_mern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealtimechatapplication%2Freal_time_chat_mern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealtimechatapplication%2Freal_time_chat_mern/lists"}