Skip to content

Data-Verse is an end-to-end AI data analysis agent that automates data ingestion, cleaning, pattern extraction, and predictive modeling, culminating in interactive visualizations—providing a comprehensive alternative to traditional data analysts.

License

Notifications You must be signed in to change notification settings

0PeterAdel/Data-Verse-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data-Verse

Project Overview

Data-Verse is a data processing and visualization platform designed to handle large datasets efficiently. It provides tools for uploading, previewing, processing, and visualizing data, making it ideal for data analysts and researchers.

Core Functionalities

  • File upload and preview.
  • Data processing pipelines.
  • Interactive data visualization.
  • Secure API endpoints with JWT authentication.
  • Scalable architecture with clustering support.

Setup Instructions

Prerequisites

  • Node.js (v16 or higher)
  • npm (v8 or higher)
  • Kali Linux (or any Linux distribution)

Steps

  1. Clone the repository:
    git clone <repository-url>
    cd Data-Verse
  2. Install dependencies:
    npm install
  3. Create a .env file in the root directory with the following variables:
    PORT=3000
    JWT_SECRET=your_jwt_secret
  4. Start the development server:
    npm run dev

Deployment Instructions

Steps for Kali Linux

  1. Install PM2 globally:
    npm install -g pm2
  2. Start the application in production mode:
    pm2 start pm2.config.json --env production
  3. Monitor the application:
    pm2 monit

Testing & CI/CD

Running Tests

  • Unit and integration tests are written using Jest and Supertest.
  • Run tests with the following command:
    npm test

CI/CD Integration

  • Use GitHub Actions or any CI/CD tool to automate testing and deployment.
  • Ensure the .env file is configured correctly in the deployment environment.

CI/CD Setup

The project uses GitHub Actions for Continuous Integration and Deployment. The workflow file is located at .github/workflows/ci.yml and automates linting, testing, building, and deploying the application.

Environment Variables

Ensure the following secrets are added to GitHub:

  • SENTRY_DSN: For Sentry error monitoring.
  • JWT_SECRET: For JWT authentication.

Monitoring and Logging

Sentry

Sentry is integrated for error monitoring. Add your Sentry DSN to the .env file:

SENTRY_DSN=your_sentry_dsn

Winston

Winston is used for logging errors to both the console and a file (error.log).

Backup and Performance Scripts

Backup Script

The backup.sh script automates backups of key files and directories. Run it manually or schedule it with cron.

Performance Benchmarking

The benchmark.js script measures API response times. Run it using:

node benchmark.js

Scalability Roadmap

  • Containerization: Use Docker for deployments.
  • Orchestration: Manage containers with Kubernetes.
  • Microservices: Transition to a microservices architecture for better scalability.

Contributing Guidelines

How to Contribute

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature-name
  3. Commit your changes and push to your fork.
  4. Submit a pull request with a detailed description of your changes.

Code Standards

  • Follow the existing code style and structure.
  • Write inline comments for complex logic.
  • Ensure all new features are covered by tests.

Reporting Issues

  • Use the GitHub Issues tab to report bugs or request features.
  • Provide detailed steps to reproduce the issue or describe the feature.

Contact and Support

For support, contact the development team at [email protected] or open an issue on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Data-Verse is an end-to-end AI data analysis agent that automates data ingestion, cleaning, pattern extraction, and predictive modeling, culminating in interactive visualizations—providing a comprehensive alternative to traditional data analysts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published