Skip to content

Smart Drive System is a secure Laravel-based cloud storage solution inspired by Google Drive. It allows users to create, manage, and share folders and files with role-based permissions, featuring a tree-based structure, recursive folder downloads, and full data isolation.

Notifications You must be signed in to change notification settings

HasanZaeter/Smart-Drive-System-

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

🧠 Smart Drive System

A secure and scalable cloud storage system inspired by Google Drive, built with Laravel.
This application allows users to create personal folders, upload files, manage access permissions, and organize data efficiently using a tree-based folder structure.
Each user has a private workspace ensuring full data isolation, with the ability to share specific folders and permissions with other users.


🚀 Features

  • 📁 Folder Management

    • Create, delete, and move folders.
    • Validate destination folders before moving to prevent invalid nesting.
    • Maintain parent–child relationships between folders (tree-based structure).
  • 📂 File Management

    • Upload and delete files within folders.
    • Support for multiple file types.
    • Files are organized and associated with specific folders.
  • 🔐 Permission Control

    • Grant read, edit, or delete access to other users for any folder.
    • Shared access applies recursively to all subfolders and files.
  • 🌲 Tree-Based Folder Structure

    • Implemented using parent-child relationships for efficient organization.
    • Recursive queries for nested folder retrieval.
  • ⬇️ Recursive Folder Download

    • Download any folder as a .zip file, including all nested subfolders and files, preserving the hierarchy.
  • 👥 User Isolation

    • Each user can only access their own folders and files unless explicit permission is granted.

🏗️ System Architecture

The system follows a tree-based hierarchical model, where each folder acts as a node.
All operations (create, move, delete, download) are applied recursively based on the folder hierarchy.

Core Entities

  • User: Owns folders and files.
  • Folder: Represents a node in the tree.
  • File: Belongs to a folder.
  • Permission: Defines access levels (read/edit/delete) and shared users.

⚙️ Tech Stack

Layer Technology
Framework Laravel 11
Database MySQL
Authentication Passport Auth (JWT)
File Storage Laravel Storage (Local / Cloud)
API Architecture RESTful APIs

About

Smart Drive System is a secure Laravel-based cloud storage solution inspired by Google Drive. It allows users to create, manage, and share folders and files with role-based permissions, featuring a tree-based structure, recursive folder downloads, and full data isolation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages