Skip to content

Srinu346/TradingApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ˆ TradeX

A stock trading simulation platform with a fake market engine, live price fluctuations, and interactive portfolio management.


✨ Features

  • ⚑ Real-time market engine generating price fluctuations with OHLC data
  • πŸ“Š Interactive candlestick charts using lightweight-charts
  • πŸ’Ό Portfolio management with stock purchase and live holdings tracking
  • πŸ—„οΈ Prisma ORM with Express backend for users, holdings, transactions, and history
  • 🎨 Responsive UI built with Tailwind CSS for smooth trading experience

πŸ›  Tech Stack

  • Frontend: React.js, Tailwind CSS
  • Backend: Node.js, Express.js, Prisma
  • Database: PostgreSQL
  • Charts: lightweight-charts

πŸ“Έ Screenshots

(Add screenshots or GIFs here, e.g. trading dashboard, charts, portfolio page)


⚑ Getting Started

1️⃣ Clone the repository

git clone https://github.com/Srinu346/TradeX.git
cd TradeX

2️⃣ Install dependencies

npm install

3️⃣ Setup environment variables

Create a .env file in the root directory:

DATABASE_URL=postgresql://user:password@localhost:5432/tradex
PORT=5000

4️⃣ Run database migrations

npx prisma migrate dev

5️⃣ Start the development server

npm run dev

🧩 Folder Structure

β”œβ”€β”€ client/ # Frontend (React + Tailwind CSS) β”œβ”€β”€ server/ # Backend (Node.js + Express + Prisma) β”œβ”€β”€ prisma/ # Prisma schema & migrations β”œβ”€β”€ package.json β”œβ”€β”€ README.md

🎯 Roadmap

Add stock selling feature

Implement transaction history UI

Introduce leaderboard & gamification

Support multiple markets/sectors

🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

πŸ“œ License

Distributed under the MIT License. See LICENSE for more information.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published