Skip to content

shivammiyyy/Market-Analytics-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Here's a complete README.md for your stock analysis dashboard project. This version is designed to be beginner-friendly but also informative for recruiters or contributors:


Deployement - https://shimmering-medovik-298ee6.netlify.app/dashboard/IT/MSFT

# πŸ“Š Stock Analyzer Dashboard

An interactive stock analysis dashboard built with **React**, **Tailwind CSS**, and **Clerk** for authentication. It visualizes stock market data using **Candlestick**, **Line**, and **Bar** graphs, powered by a backend API.

---

## πŸš€ Features

- πŸ”’ User Authentication with [Clerk](https://clerk.dev/)
- πŸ“ˆ Dynamic Graphs (Candlestick, Line, Bar)
- 🏒 Company-specific data with logo, founding year, etc.
- πŸ“± Fully responsive design
- πŸ“Š Real-time data fetching from backend using REST API

---

## πŸ“‚ Project Structure

. β”œβ”€β”€ src β”‚ β”œβ”€β”€ components β”‚ β”‚ β”œβ”€β”€ CandleGraph.jsx β”‚ β”‚ β”œβ”€β”€ LineGraph.jsx β”‚ β”‚ └── BarGraph.jsx β”‚ β”œβ”€β”€ pages β”‚ β”‚ └── DBoardD.jsx β”‚ β”œβ”€β”€ assets β”‚ β”‚ └── asset.js (contains company data) β”‚ β”œβ”€β”€ App.jsx β”‚ β”œβ”€β”€ main.jsx β”‚ └── ... β”œβ”€β”€ public β”‚ └── ... └── README.md


---

## πŸ› οΈ Installation

### 1. Clone the repository

```bash
git clone https://github.com/your-username/stock-analyzer-dashboard.git
cd stock-analyzer-dashboard

2. Install dependencies

npm install

3. Configure Environment Variables

Create a .env file in the root directory:

VITE_BACKEND_URL=3002  # Replace with the actual port or domain of your backend

Note: Only variables prefixed with VITE_ will be exposed in the frontend.

4. Run the development server

npm run dev

🌐 Backend API (Required)

Make sure you have a backend server running at:

http://localhost:<VITE_BACKEND_URL>/user/:symbol

It should return stock data in JSON format with keys like:

{
  "dates": [...],
  "opens": [...],
  "closes": [...],
  "highs": [...],
  "lows": [...]
}

πŸ” Authentication with Clerk

This project uses Clerk for user sign-up and sign-in.

  • Sign up at https://clerk.dev to get your API keys.
  • Integrate Clerk in the project (already scaffolded).
  • Modify ClerkProvider in main.jsx with your frontend API key.

=

✨ Tech Stack

  • React
  • Tailwind CSS
  • React Router DOM
  • Clerk Authentication
  • Recharts / Chart.js (depending on your graph library)
  • Node.js / Express (for backend API)

πŸ“Œ TODO

  • Add user portfolio feature
  • Add live stock price updates
  • Add dark mode toggle
  • Write unit and integration tests

πŸ‘¨β€πŸ’» Author

Shivam Kumar


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages