{"id":26649160,"url":"https://github.com/razor-eng/messaging-dashboard","last_synced_at":"2025-07-06T04:34:09.026Z","repository":{"id":283517749,"uuid":"952025541","full_name":"Razor-eng/Messaging-Dashboard","owner":"Razor-eng","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-20T17:11:24.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T17:29:28.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Razor-eng.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-20T16:03:11.000Z","updated_at":"2025-03-20T17:11:27.000Z","dependencies_parsed_at":"2025-03-20T17:39:43.490Z","dependency_job_id":null,"html_url":"https://github.com/Razor-eng/Messaging-Dashboard","commit_stats":null,"previous_names":["razor-eng/messaging-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Razor-eng%2FMessaging-Dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Razor-eng%2FMessaging-Dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Razor-eng%2FMessaging-Dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Razor-eng%2FMessaging-Dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Razor-eng","download_url":"https://codeload.github.com/Razor-eng/Messaging-Dashboard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245377989,"owners_count":20605377,"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":"2025-03-25T00:59:33.478Z","updated_at":"2025-03-25T00:59:34.028Z","avatar_url":"https://github.com/Razor-eng.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Messaging Dashboard\n\n## Overview\n\nMessaging Dashboard is a real-time messaging application built using the MERN stack (MongoDB, Express, React, Node.js) with Socket.io for real-time communication.\n\n## Features\n\n- Real-time messaging using WebSockets\n- Real-time bot interaction\n- User authentication with JWT\n- RESTful API with Express and MongoDB\n- Frontend built with Vite, React, and TailwindCSS\n- Backend with Express.js and Mongoose\n- Environment configuration with `.env` files\n\n## Project Structure\n\n```bash\n/messaging-dashboard\n├── /backend         # Backend API (Node.js, Express, MongoDB)\n│   ├── server.js\n│   ├── models/\n│   ├── routes/\n│   ├── controllers/\n│   ├── config/\n│   ├── .env\n│   ├── package.json\n│\n├── /frontend        # Frontend (React, Vite, TailwindCSS)\n│   ├── src/\n│   ├── index.tsx\n│   ├── vite.config.ts\n│   ├── package.json\n│   ├── .env\n│\n├── package.json     # Root package.json for managing frontend and backend\n├── README.md        # Documentation\n├── .env\n```\n\n## Installation\n\n### Prerequisites\n\nEnsure you have the following installed:\n\n- Node.js (v16+ recommended)\n- MongoDB (Cloud or Local instance)\n- npm or yarn\n\n### Setup\n\nClone the repository:\n\n```sh\ngit clone https://github.com/razor-eng/messaging-dashboard.git\ncd messaging-dashboard\n```\n\nInstall dependencies:\n\n```sh\nnpm run install\n```\n\n## Environment Variables\n\n### Backend (`backend/.env`)\n\n```env\nMONGODB_URI=mongodb+srv://rajat:rajat1995m@cluster0.lji0n.mongodb.net/?retryWrites=true\u0026w=majority\u0026appName=Cluster0\nPORT=8000\nJWT_SECRET=your_jwt_secret_key\nFRONTEND_URL=http://localhost:3000\n```\n\n### Frontend (`frontend/.env`)\n\n```env\nVITE_API_URL=http://localhost:8000\nVITE_SOCKET_URL=http://localhost:8000\n```\n\n### Root (`.env`)\n\n```env\nMONGODB_URI=mongodb+srv://rajat:rajat1995m@cluster0.lji0n.mongodb.net/?retryWrites=true\u0026w=majority\u0026appName=Cluster0\nPORT=8000\nJWT_SECRET=your_jwt_secret_key\nFRONTEND_URL=http://localhost:3000\nVITE_API_URL=http://localhost:8000\nVITE_SOCKET_URL=http://localhost:8000\n```\n\n## Running the Application\n\n### Development Mode\n\nStart the backend and frontend together:\n\n```sh\nnpm run dev\n```\n\n### Production Mode\n\nBuild and start the application:\n\n```sh\nnpm run build\nnpm start\n```\n\n## Scripts\n\n| Script            | Description                                       |\n| ----------------- | ------------------------------------------------- |\n| `npm run install` | Installs both frontend and backend dependencies   |\n| `npm run dev`     | Runs the backend and frontend in development mode |\n| `npm run build`   | Builds both frontend and backend                  |\n| `npm start`       | Starts the application in production mode         |\n\n## Technologies Used\n\n### Backend:\n\n- Node.js\n- Express.js\n- MongoDB with Mongoose\n- JSON Web Tokens (JWT)\n- Socket.io for real-time messaging\n\n### Frontend:\n\n- React with Vite\n- TailwindCSS\n- Radix UI for components\n- Axios for API calls\n- Socket.io-client for real-time communication\n\n## Contributing\n\nFeel free to fork the repository and submit pull requests.\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazor-eng%2Fmessaging-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frazor-eng%2Fmessaging-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazor-eng%2Fmessaging-dashboard/lists"}