Skip to content

ShreyaN15/spark_web_big_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSSC Data Visualization Project

This project provides a web-based interface for interacting with a Spark cluster and visualizing results.

System Requirements

  • Python 3.9+ (recommended: Python 3.11)
  • Node.js 18+ (recommended: Node.js 18.19.0 LTS)
  • npm 9+

Project Structure

.
├── backend/           # FastAPI backend
│   ├── main.py       # Main application entry
│   └── requirements.txt
└── frontend/         # React.js frontend
    ├── src/
    │   └── App.jsx
    └── package.json

Setup Instructions

Backend Setup

  1. Create a Python virtual environment:

    cd backend
    python -m venv venv
    
    # On Windows
    .\venv\Scripts\activate
    
    # On Unix/MacOS
    source venv/bin/activate
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the backend server:

    uvicorn main:app --reload

    The backend will be available at http://localhost:8000

Frontend Setup

  1. Install dependencies:

    cd frontend
    npm install
  2. Start the development server:

    npm start

    The frontend will be available at http://localhost:3000

Features

  • FastAPI backend with WebSocket support
  • React.js frontend with data visualization capabilities
  • Real-time data updates using WebSocket
  • Cross-Origin Resource Sharing (CORS) enabled

Development Notes

  • The backend uses FastAPI with Uvicorn for high performance
  • Frontend visualization is handled by Plotly.js
  • WebSocket support is included for real-time data updates
  • CORS is configured to allow frontend-backend communication

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors