{"id":28490916,"url":"https://github.com/codestreamhub-space/Realtime-Frex-MERN","last_synced_at":"2025-12-30T22:43:58.174Z","repository":{"id":278527086,"uuid":"930964849","full_name":"DMGitPOS/Realtime-Frex-MERN","owner":"DMGitPOS","description":"A real-time collaborative workspace application for forex trading, built with the MERN stack (MongoDB, Express.js, React.js, Node.js) and Socket.io. The project aims to provide a secure and feature-rich platform for forex traders to collaborate, communicate, and access live forex price updates.","archived":false,"fork":false,"pushed_at":"2025-02-11T14:02:27.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T07:44:02.359Z","etag":null,"topics":["express","forex-prediction","jwt","mongodb","node","react"],"latest_commit_sha":null,"homepage":"","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/DMGitPOS.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":"2025-02-11T14:01:34.000Z","updated_at":"2025-02-11T14:03:22.000Z","dependencies_parsed_at":"2025-02-20T09:38:04.171Z","dependency_job_id":null,"html_url":"https://github.com/DMGitPOS/Realtime-Frex-MERN","commit_stats":null,"previous_names":["vadymkleban/realtime-frex-mern","fantasy-guru/realtime-frex-mern","dmgitpos/realtime-frex-mern"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DMGitPOS/Realtime-Frex-MERN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMGitPOS%2FRealtime-Frex-MERN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMGitPOS%2FRealtime-Frex-MERN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMGitPOS%2FRealtime-Frex-MERN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMGitPOS%2FRealtime-Frex-MERN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DMGitPOS","download_url":"https://codeload.github.com/DMGitPOS/Realtime-Frex-MERN/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMGitPOS%2FRealtime-Frex-MERN/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264130489,"owners_count":23562038,"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":["express","forex-prediction","jwt","mongodb","node","react"],"created_at":"2025-06-08T07:30:27.397Z","updated_at":"2025-12-30T22:43:58.147Z","avatar_url":"https://github.com/DMGitPOS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-time-Forex-MERN\nA real-time collaborative workspace application for forex trading, built with the MERN stack and Socket.io.\n\n## Features\n\n- 🔐 JWT-based Authentication\n- 💬 Real-time Chat Channels\n- 📊 Live Forex Price Updates\n- 👥 Role-based Access Control\n- 🔔 Real-time Notifications\n- 📱 Responsive Design\n\n## Tech Stack\n\n- **Frontend**: React.js\n- **Backend**: Node.js, Express.js\n- **Database**: MongoDB\n- **Real-time Communication**: Socket.io\n- **Authentication**: JWT\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14 or higher)\n- MongoDB\n- npm or yarn\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/BTC415/Real-time-Forex-MERN.git\ncd Real-time-Forex-MERN\n```\n\n2. Install dependencies:\n```\ncd server \u0026\u0026 npm install\ncd ../src \u0026\u0026 npm install\n```\n\n3. Set up environment variables:\n```\nVITE_API_URL=http://localhost:3001/\nVITE_CLIENT_URL=http://localhost:5173/\nMONGODB_URI=\nJWT_SECRET=your_jwt_secret_key\nPORT=3001\n```\n\n### Running the Application\n\n1. Start the backend server:\n```\ncd server \u0026\u0026 npm start\n```\n\n2. Start the frontend development server:\n```\ncd src \u0026\u0026 npm run dev\n```\n\n### API Endpoints\n\n#### Authentication\n\n- **POST** `/api/auth/register` - Register new user\n- **POST** `/api/auth/login` - User login\n- **GET** `/api/auth/validate` - Validate JWT token\n- **PUT** `/api/auth/update` - Update user profile\n\n#### User Roles\n- Admin: Full access, can manage channels\n- Trader: Access to trading channels and chat\n- Guest: Limited access to public channels\n\n#### Available Currency Pairs\n- EUR/USD\n- GBP/USD\n- USD/JPY\n- USD/CHF\n\n#### Security Features\n- Password hashing with bcrypt\n- JWT token authentication\n- Role-based access control\n- Secure API endpoints\n\n## Contributing\n- Fork the repository\n- Create your feature branch (git checkout -b feature/AmazingFeature)\n- Commit your changes (git commit -m 'Add some AmazingFeature')\n- Push to the branch (git push origin feature/AmazingFeature)\n- Open a Pull Request\n\n## License\nThis project is licensed under the [LICENSE](https://github.com/BTC415/Real-time-Forex-MERN/blob/master/LICENSE) - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodestreamhub-space%2FRealtime-Frex-MERN","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodestreamhub-space%2FRealtime-Frex-MERN","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodestreamhub-space%2FRealtime-Frex-MERN/lists"}