Skip to content

vinodM09/StockHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StockHub

StockHub is a full-stack MERN (MongoDB, Express.js, React.js, Node.js) application for real-time stock trading and portfolio tracking. It features a dynamic dashboard and live API integration, designed for seamless monitoring and management of stock investments.


Project Structure

The project is divided into three main folders:

  1. client – React frontend for the main application interface.
  2. dashboard – React frontend for the trading dashboard with interactive charts and widgets.
  3. server – Node.js + Express backend, handling APIs, authentication, and real-time stock data.

Features

  • Real-time stock data via live APIs.
  • Interactive trading dashboard with portfolio tracking, charts, and watchlists.
  • User authentication and secure session management.
  • Responsive UI for both desktop and mobile devices.
  • Customizable widgets for tracking favorite stocks.

Inspired by popular trading platforms like Zerodha Kite in terms of layout and functionality.


Tech Stack

  • Frontend: React, CSS, Bootstrap
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • APIs: Live stock market APIs (finnhub.com APIs for prices and niftySensex)
  • Others: Axios, JWT for authentication

Installation & Running the App

# Install dependencies
cd server
npm install

cd ../client
npm install

cd ../dashboard
npm install

# Set up environment variables (create a .env file in the server folder)
# MONGO_URI=your_mongodb_uri
# FINNHUB_API_KEY=your_stock_api_key
# JWT_SECRET=your_jwt_secret

# Start server
cd server
npm run dev

# Start client
cd ../client
npm start

# Start dashboard
cd ../dashboard
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published