Skip to content

vinayakbhoj/Drive-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📁 Drive-Clone – Google Drive Clone

Screenshot 2025-06-21 163115

Screenshot 2025-06-21 163132

Screenshot 2025-06-21 163153

A full-stack cloud storage web app that replicates core features of Google Drive — allowing users to upload, preview, download, and organize files securely.

🚀 Live Demo

🔗 View Live Project


🛠️ Tech Stack Used

Frontend:

  • EJS
  • Bootstrap
  • JavaScript

Backend:

  • Node.js
  • Express.js

Database:

  • MongoDB (Mongoose)

Authentication:

  • Passport.js (Local Strategy)
  • Express-session

File Upload & Storage:

  • Multer
  • Multer-storage-cloudinary
  • Cloudinary

Deployment:

  • Render

🔑 Key Features

  • ✅ User Signup & Login (Session-Based Auth)
  • 📤 File Upload to Cloudinary
  • 🖼️ Preview Images & Files
  • 📥 Download Files
  • 🗃️ File List View
  • ❌ Delete Files
  • 🔒 Auth-protected Routes
  • 📱 Fully Responsive Design

🐞 Bug Fixes & Improvements

  • Fixed cloudinary dependency conflict (cloudinary@1.30.0)
  • Resolved mobile responsiveness issues
  • Added loading spinner for file upload
  • Improved error handling and user feedback messages

📁 Folder Structure

Drive-Clone/ │ ├── models/ ├── routes/ ├── views/ ├── public/ ├── app.js └── ...


🧪 How to Run Locally

  1. Clone the repository
git clone https://github.com/vinayakbhoj/Drive-Clone.git
cd Drive-Clone

Install dependencies
npm install

Create a .env file in the root directory and add:
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_KEY=your_api_key
CLOUDINARY_SECRET=your_api_secret
MONGO_URI=your_mongodb_connection_string
SESSION_SECRET=your_random_secret_key

Start the application
npm start

📚 What I Learned Implemented file storage in Cloudinary via Multer

Handled session-based auth with Passport.js

Fixed real-world deployment and npm errors on Render

Improved app design and responsiveness with Bootstrap

👨‍💻 Author Vinayak Bhoj Full Stack Web Developer | Tech Explorer | Project Builder 📫 Connect on LinkedIn

Deploy on Render Made with Node.js MongoDB Cloudinary License: MIT

About

Google Drive Clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published