Real Time Forex MERN
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.
Install / Use
npx skills add marksantiago290/Real-time-Forex-MERNInstalls into whichever agent you are using.
README
Real-time-Forex-MERN
A real-time collaborative workspace application for forex trading, built with the MERN stack and Socket.io.
Features
- 🔐 JWT-based Authentication
- 💬 Real-time Chat Channels
- 📊 Live Forex Price Updates
- 👥 Role-based Access Control
- 🔔 Real-time Notifications
- 📱 Responsive Design
Tech Stack
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Real-time Communication: Socket.io
- Authentication: JWT
Getting Started
Prerequisites
- Node.js (v14 or higher)
- MongoDB
- npm or yarn
Installation
- Clone the repository:
git clone <this-repo-url>
cd Real-time-Forex-MERN
- Install dependencies:
cd server && npm install
cd ../src && npm install
- Set up environment variables:
VITE_API_URL=http://localhost:3001/
VITE_CLIENT_URL=http://localhost:5173/
MONGODB_URI=
JWT_SECRET=your_jwt_secret_key
PORT=3001
Running the Application
- Start the backend server:
cd server && npm start
- Start the frontend development server:
cd src && npm run dev
API Endpoints
Authentication
- POST
/api/auth/register- Register new user - POST
/api/auth/login- User login - GET
/api/auth/validate- Validate JWT token - PUT
/api/auth/update- Update user profile
User Roles
- Admin: Full access, can manage channels
- Trader: Access to trading channels and chat
- Guest: Limited access to public channels
Available Currency Pairs
- EUR/USD
- GBP/USD
- USD/JPY
- USD/CHF
Security Features
- Password hashing with bcrypt
- JWT token authentication
- Role-based access control
- Secure API endpoints
Contributing
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
License
This project is licensed under the LICENSE - see the LICENSE file for details.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
imsg
385.5kUse the imsg CLI from OpenClaw agents for iMessage/SMS DMs, groups, replies, reactions, polls, watching, and private-API actions.
Agent Development
140.7kThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or…
review-duplication
106.4kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
