How abhii-navv/stock-market-trading-web-application works
Nova Capital is a PHP/MySQL stock-portfolio simulator: users register or sign in, trade six featured stocks with virtual funds, then review balances, holdings, and transaction history. The repository contains v1 and a redesigned v2; the graph emphasizes v2 while retaining v1’s substantial dashboard, history, and registration modules. README descriptions establish the major product capabilities; sampled source gives limited implementation detail, so some subsystem links are documented at a broad level rather than traced through every request.
Main entry points: dash1.php Live dashboard · nova_capital_new Stock trading pages · apple_transaction.php Trade handlers · registration.php Registration handler
Components 18
Accounts
- Sign-in and signup
nova_capital_new/signin.php - Registration handler
nova_capital_new/registration.php
Trading
- Stock trading pages
nova_capital_new - Trade handlers
nova_capital_new/apple_transaction.php
Portfolio
- Owned-stock queries
nova_capital_new/get_owned_stocks_apple.php - Balance endpoint
nova_capital_new/get_balance.php - Live dashboard
nova_capital_new/dash1.php - Transaction history
nova_capital_new/stock-history.php - Market history view
nova_capital_new/his.php - MySQL data store
Version One
- Dashboard
nova_capital/dash1.php - Transaction history
nova_capital/stock-history.php - Market history view
nova_capital/his.php - Registration handler
nova_capital/registration.php - Sign-in page
nova_capital/signin.php - Trade handlers
nova_capital/apple_transaction.php - MySQL data store
Other components
- Investor
Connections 17
- Investor → Sign-in and signup: signs in
README.md - Investor → Registration handler: registers
README.md - Investor → Stock trading pages: places trades
README.md - Stock trading pages → Trade handlers: submits trades
README.md - Trade handlers → MySQL data store: records trades
README.md - Live dashboard → Balance endpoint: refreshes balance
README.md - Live dashboard → Owned-stock queries: shows holdings
README.md - Live dashboard → MySQL data store: queries stats
README.md - Transaction history → MySQL data store: reads transactions
nova_capital_new/stock-history.php - Market history view → MySQL data store: reads market data
- Investor → Sign-in page: signs in
README.md - Investor → Registration handler: registers
README.md - Registration handler → MySQL data store: creates account
README.md - Trade handlers → MySQL data store: records trades
README.md - Dashboard → MySQL data store: loads portfolio
README.md - Transaction history → MySQL data store: reads transactions
README.md - Market history view → MySQL data store: reads market data