{"id":19320665,"url":"https://github.com/mahrjose/hive","last_synced_at":"2026-02-05T21:31:17.443Z","repository":{"id":236445556,"uuid":"792627641","full_name":"Mahrjose/Hive","owner":"Mahrjose","description":"Hive - A simple open source chat application that connects you with the buzz","archived":false,"fork":false,"pushed_at":"2024-10-27T21:42:27.000Z","size":2000,"stargazers_count":3,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T19:42:19.322Z","etag":null,"topics":["chat-application","mahrjose","mern-stack","socket-io"],"latest_commit_sha":null,"homepage":"https://hive-xnck.onrender.com","language":"JavaScript","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/Mahrjose.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-04-27T05:30:08.000Z","updated_at":"2025-05-31T21:09:16.000Z","dependencies_parsed_at":"2025-01-06T05:11:41.364Z","dependency_job_id":null,"html_url":"https://github.com/Mahrjose/Hive","commit_stats":null,"previous_names":["mahrjose/hive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mahrjose/Hive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahrjose%2FHive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahrjose%2FHive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahrjose%2FHive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahrjose%2FHive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mahrjose","download_url":"https://codeload.github.com/Mahrjose/Hive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahrjose%2FHive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29135047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T20:50:26.975Z","status":"ssl_error","status_checked_at":"2026-02-05T20:49:26.082Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["chat-application","mahrjose","mern-stack","socket-io"],"created_at":"2024-11-10T01:30:11.540Z","updated_at":"2026-02-05T21:31:17.423Z","avatar_url":"https://github.com/Mahrjose.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hive - A Simple Open Source Chat Application\n\n**Hive** is a simple, open-source chat application built for real-time communication and community building. This project was developed as part of the CSE470 - Software Engineering course at BRAC University.\n\n**Features:**\n\n* **User Accounts:** Users can sign up and log in to access the chat platform.\n* **Real-time Chat:** Send and receive messages with other users instantly using Socket.io.\n* **Group Chats:** Create and participate in group chats for discussions with multiple users.\n* **Notifications:** Receive notifications for new messages and activity.\n* **Intuitive Interface:** The user interface is built with Chakra UI, providing a clean and modern experience.\n\n**Technologies Used:**\n\n* Frontend: React\n* Backend: Node.js, Express (MERN Stack)\n* Database: MongoDB, Mongoose\n* Real-time Messaging: Socket.io\n* UI Framework: Chakra UI\n\n**Contributing:**\n\nWe welcome contributions to this project! Feel free to fork the repository, make changes, and submit a pull request.\n\nI'd be glad to provide a comprehensive response incorporating the best aspects of the previous responses, addressing potential issues, and following the guidelines:\n\n**Getting Started with Hive**\n\nThis guide outlines the steps to set up and run the Hive chat application locally on your development machine.\n\n**Prerequisites:**\n\n- Node.js (version 14 or later): [https://nodejs.org/en](https://nodejs.org/en)\n- npm (Node Package Manager): Comes bundled with Node.js installation\n\n**Installation:**\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/mahrjose/hive.git\n   cd hive\n   ```\n\n2. **Install Dependencies:**\n\n   - Install dependencies for backend:\n\n     ```bash\n     npm install\n     ```\n   - Install dependencies for frontend:\n\n     ```bash\n     cd frontend\n     npm install\n     ```\n\n   - If encountering peer dependency conflicts, use `npm install --legacy-peer-deps` as a temporary workaround. However, it's generally better to address compatibility issues by updating dependencies to work together. Refer to the official npm documentation for more details on peer dependencies: [https://nodejs.org/en/blog/npm/peer-dependencies](https://nodejs.org/en/blog/npm/peer-dependencies)\n\n**Building the Frontend:**\n\n1. **Build the Frontend Application:**\n\n   ```bash\n   cd frontend\n   npm run build\n   ```\n\n   This command creates an optimized production build of the frontend code.\n\n**Starting the Application:**\n\n1. **Return to the Project Root Directory:**\n\n   ```bash\n   cd ..  # Navigate back to the root directory of the project\n   ```\n\n2. **Start the Backend Server:**\n\n   ```bash\n   npm start\n   ```\n\n   This command starts the Node.js server that powers the backend functionality of the Hive application.\n\n**Running the Application:**\n\nOnce the backend server is running (usually on port 5000 by default), you can access the Hive chat application in your web browser by visiting:\n\n```\nhttp://localhost:5000\n```\n\n**Notes:**\n\n- Change the origin URL in [server.js](./backend/server.js) and ENDPOINT url in [SingleChat.js](./frontend/src/components/SingleChat.js) to `http://localhost:3000` if you're running the application locally. This step is crucial for enabling CORS (Cross-Origin Resource Sharing) and allowing the frontend to communicate with the backend server.\n\n- A `backend/.env` file is needed with the `MONGO_URI`, `PORT`, `JWT_SECRET`, `NODE_VERSION` and `NODE_ENV` (optional) variables. The MONGO_URI should be a connection string to your MongoDB database, the PORT should be the port number for the backend server, and the JWT_SECRET should be a secret key for JSON Web Token (JWT) authentication. Here's an example of the `.env` file:\n```bash\n   MONGO_URI=mongodb+srv://\u003cDB_username\u003e:\u003cDB_password\u003e@\u003capplicationName\u003e.wt9mah7.mongodb.net/?retryWrites=true\u0026w=majority\u0026appName=\u003capplicationName\u003e\n   PORT=5000\n   JWT_SECRET=secret\n   NODE_VERSION = 21.7.3\n   NODE_ENV = production / development  ## OPTIONAL\n```\n- To read the .env file in the backend/ directory, change the script in the [package.json](./package.json) file to:\n```bash\n   \"start\":\"node --env-file=backend/.env backend/server.js\",\n   \"dev\": \"nodemon --env-file=backend/.env backend/server.js\",\n```\n- For testing and developing the app locally, you can use the `dev` script by running:\n```bash\n   npm run dev\n```\nThen in the frontend, you'll need to run the following command:\n```bash\n   cd frontend\n   npm start\n```\nThen open the `http://localhost:3000/` in a browser to see / use the app frontend.\n\n**License:**\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n\n**Developed by:**\n\n* Mirza Mahrab Hossain (BRAC University)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahrjose%2Fhive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahrjose%2Fhive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahrjose%2Fhive/lists"}