A full-stack trading application that simulates a real-world stock trading environment. Users can track market data, execute trades, and manage their portfolio in real time.
The application also includes a personalized email system that sends a welcome email upon user registration, mimicking real-world SaaS onboarding flows.
- 📊 Real-time market simulation
- 🔐 JWT-based authentication
- ⚡ Live updates using WebSockets (Socket.io)
- 📧 Personalized welcome email on signup
- Regular personalised stock Updates
User registers → Account created → Email triggered
User logs in → Fetch portfolio → Creates Watchlist
See real time updates for thier favourite stocks → UI updates in real-time
- Next.js
- Next.js
- MongoDB
- Socket.io
- Nodemailer
trading-app/
│
├── client/
├── server/
├── controllers/
├── models/
├── routes/
├── utils/
└── .env
git clone https://github.com/your-username/trading-app.git
cd trading-app
npm install
Create a .env file:
PORT=5000
MONGODB_URI=your_database_url
JWT_SECRET=your_secret_key
EMAIL_USER=your_email
EMAIL_PASS=your_password
npm run dev
Trigger: User registration
Action: Send personalized welcome email
Content: User name + onboarding message
Signup → Backend event → Email service → User inbox
- 📊 Advanced charts
- 🔔 Trade alerts via email
- 📱 Mobile app
- Regular Updates for personalied Stocks
- Real-time systems using WebSockets
- Event-driven email workflows
- Scalable backend architecture
- State management
- Trading logic simulation
- State & API Management
https://trading-eosin.vercel.app/sign-up
Contributions are welcome. Fork and submit a PR.
MIT License
Mehtaab Aalam
GitHub: https://github.com/Mehtaab11
LinkedIn: https://linkedin.com/in/mehtaabaalam
If you like this project, give it a ⭐ on GitHub!