Skip to content

nirbhaysinghrajput/vaultdrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VaultDrop

VaultDrop is a secure real-time content sharing platform designed to simplify the transfer of files, text, and URLs between users. The platform focuses on speed, privacy, and ease of use by allowing users to share data through unique share codes and optional password protection.

Unlike traditional file-sharing services that rely on emails or permanent links, VaultDrop aims to provide an instant and temporary sharing experience powered by real-time communication technologies.


Problem Statement

Sharing files and information between devices or users often requires:

  • Email attachments
  • Cloud storage links
  • Messaging platforms
  • Complex authentication processes

These methods can be slow, inconvenient, or expose data unnecessarily.

VaultDrop solves this by providing a lightweight and secure platform where users can instantly share files, text, and URLs using a unique sharing code.


Key Features

Authentication & Security

  • JWT-based authentication
  • Secure password hashing
  • Protected API routes
  • User session management

File Sharing

  • Upload and share files
  • Real-time transfer updates
  • Temporary storage support
  • Download tracking

Text Sharing

  • Instant text sharing
  • Secure password-protected content
  • Real-time delivery

URL Sharing

  • Share URLs instantly
  • Quick access through unique share codes
  • Secure retrieval mechanism

Real-Time Communication

  • Socket.IO powered communication
  • Live transfer status updates
  • Instant sender-receiver synchronization

Activity Monitoring

  • Activity logging
  • Transfer history tracking
  • Future audit capabilities

Technology Stack

Frontend

  • React.js
  • Vite
  • Tailwind CSS
  • React Router
  • Axios
  • Socket.IO Client

Backend

  • Node.js
  • Express.js
  • Socket.IO
  • JWT Authentication
  • Multer

Database

  • MongoDB
  • Mongoose ODM

Development Tools

  • Git
  • GitHub
  • VS Code
  • Postman

System Architecture

Client (React)
      │
      ▼
REST APIs + Socket.IO
      │
      ▼
Express.js Server
      │
 ┌────┴────┐
 ▼         ▼
MongoDB   File Storage

Project Structure

vaultdrop/
│
├── client/
│   ├── public/
│   ├── src/
│   ├── package.json
│   └── vite.config.js
│
├── server/
│   ├── src/
│   │   ├── config/
│   │   ├── controllers/
│   │   ├── middleware/
│   │   ├── models/
│   │   ├── routes/
│   │   ├── services/
│   │   ├── sockets/
│   │   └── utils/
│   │
│   ├── uploads/
│   ├── package.json
│   └── server.js
│
├── .gitignore
└── README.md

Installation

Clone Repository

git clone https://github.com/yourusername/vaultdrop.git
cd vaultdrop

Install Frontend Dependencies

cd client
npm install

Install Backend Dependencies

cd ../server
npm install

Environment Variables

Create a .env file inside the server directory.

PORT=5000

MONGODB_URI=your_mongodb_connection_string

JWT_SECRET=your_secret_key

CLIENT_URL=http://localhost:5173

Running the Application

Start Backend

cd server
npm run dev

Start Frontend

cd client
npm run dev

Project Status

✅ Completed

VaultDrop is a fully functional real-time content sharing platform that supports:

  • User Authentication & Authorization
  • Secure File Sharing
  • Secure Text Sharing
  • Secure URL Sharing
  • Password-Protected Transfers
  • Unique Share Code Generation
  • Real-Time Communication using Socket.IO
  • Activity Logging
  • MongoDB Integration
  • Responsive User Interface
  • RESTful API Architecture

The project has been successfully developed as a complete MERN Stack application and serves as a practical implementation of secure real-time data sharing systems.


Learning Objectives

This project is being developed to gain hands-on experience with:

  • MERN Stack Development
  • Real-Time Applications
  • Authentication & Authorization
  • REST API Design
  • WebSocket Communication
  • Scalable Backend Architecture
  • Secure File Transfer Systems

Author

Nirbhay Singh

B.Tech Computer Science & Engineering (AI)
Parul University

Aspiring Software Development Engineer (SDE) with interests in Backend Development, System Design, Real-Time Applications, and Full Stack Engineering.


License

This project is developed for educational and portfolio purposes.

About

Secure text, file and URL sharing platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors