A full-stack stock market dashboard that displays real-time stock prices and interactive charts. Built with Java Spring Boot on the backend and a React/HTML frontend.
- Real-time stock prices — live market data fetched and served via REST API
- Interactive charts — visualize price history and market trends
- Clean dashboard UI — browse and track multiple stocks from one view
| Layer |
Tech |
| Backend |
Java · Spring Boot · Spring Data JPA |
| Database |
MySQL |
| Frontend |
React / HTML · CSS · JavaScript |
| Data |
Stock market API () |
Frontend (React/HTML)
│
▼
Spring Boot REST API
│
├── Stock price fetcher (external API)
└── MySQL (persisted data)
- Java 17+
- Maven
- MySQL
- Node.js (if running frontend separately)
git clone https://github.com/vikash1311/StockTradingPlatform.git
cd StockTradingPlatform
# Configure your DB and API key in:
# src/main/resources/application.properties
mvn spring-boot:run
spring.datasource.url=jdbc:mysql://localhost:3306/stockdb
spring.datasource.username=root
spring.datasource.password=yourpassword
# Add your stock data API key here
STOCK_API_KEY=your_api_key
cd frontend # or open index.html directly if plain HTML
npm install
npm run dev
| Method |
Endpoint |
Description |
| GET |
/api/stocks |
Get list of tracked stocks |
| GET |
/api/stocks/{symbol} |
Get current price for a symbol |
| GET |
/api/stocks/{symbol}/history |
Get price history for charts |
Vikash Gautam · LinkedIn · Portfolio · Email