# Stock Trading Platform

A modern web application for real-time stock trading and portfolio management built with React.js and Node.js. The platform offers live market data through web scraping and features a sleek, responsive interface using Tailwind CSS and Aceternity UI components.

## Features Implemented

- User Authentication System
  - User Registration with email and password
  - User Login with secure authentication
  - Form validation and error handling
  - Password hashing for security

- Real-Time Stock Data
  - Live market data through web scraping
  - Dynamic price updates
  - Historical price trends
  - Market indicators and analytics

- Portfolio Management
  - Real-time portfolio valuation
  - Investment tracking
  - Performance analytics
  - Transaction history

## Tech Stack

### Frontend
- React.js
- React Router for navigation
- Tailwind CSS for responsive styling
- Aceternity UI for modern components and animations
- Chart.js for data visualization
- Web Scraping integration for live data

### Backend
- Node.js
- Express.js
- PostgreSQL database
- bcrypt for password hashing
- Web Scraping utilities
  - Cheerio for HTML parsing
  - Axios for HTTP requests

## Project Structure 

## UI Features
- Responsive design with Tailwind CSS
- Modern animations and transitions
- Interactive charts and graphs
- Real-time data updates
- User-friendly portfolio dashboard
- Clean and intuitive interface

## Data Features
- Real-time stock price updates
- Historical price data
- Market trends and analysis
- Portfolio performance metrics
- Transaction tracking

## Getting Started

1. Clone the repository
2. Install dependencies for both client and server
3. Set up PostgreSQL database
4. Configure environment variables
5. Start the development server

```bash
# Install client dependencies
cd client
npm install

# Install server dependencies
cd ../server
npm install

# Run both client and server
npm run dev
```

## Contributing
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.

## License
This project is MIT licensed.