/blockshare

Primary LanguageJavaScript

Blockchain-Based Cloud File Sharing Application

This project aims to develop a cloud file sharing application utilizing blockchain technology. The application consists of backend services implemented in Python using Flask framework, a blockchain backend developed in Hardhat, and a frontend interface built with React Vite.

Table of Contents

Description

This cloud file sharing application allows users to securely upload, store, and download files using blockchain technology. The application provides a decentralized and immutable storage solution, ensuring data integrity and security.

Features

  • Secure file storage using blockchain technology
  • User authentication and authorization
  • Uploading and downloading files securely
  • Blockchain integration for immutable file tracking

Technologies Used

  • Backend: Python, Flask
  • Blockchain Backend: Hardhat
  • Frontend: React, Vite
  • Database: MySQL

Setup Instructions

Prerequisites

  • Node.js and npm installed globally
  • Python 3.x and pip installed
  • MySQL installed and running locally
  • Hardhat installed globally (npm install -g hardhat)

Backend Setup

  1. Navigate to blockchain-backend directory.
  2. Install dependencies using npm install.
  3. Start the backend server by running npm start.
  4. Ensure MySQL is running locally.

Python Backend Setup

  1. Navigate to python-backend directory.
  2. Install Python dependencies using pip install -r requirements.txt.
  3. Run the Flask server with python app.py.

Frontend Setup

  1. Navigate to blockshare-frontend directory.
  2. Install frontend dependencies with npm install.
  3. Start the frontend server with npm run dev.

Usage

  1. Access the frontend application by navigating to http://localhost:3000 in your web browser.
  2. Sign up or log in to your account.
  3. Upload files securely, ensuring they are stored on the blockchain.
  4. Download files securely, leveraging blockchain immutability.

Contributors

License

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

Screen Shots

Screenshot (463)