Skip to content

Deepikasel/Document-upload-and-retrieval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📁 Document Upload and Retrieve

This is a web-based system that allows users to upload image documents, automatically generates a unique ID, and then lets users retrieve the uploaded file using that ID.


🚀 Features

  • 📤 Upload documents (PNG, JPG, etc.)
  • 🆔 Generate and display a unique ID for each upload
  • 🔍 Retrieve document using its ID
  • 🗃 Store file details and data in a MongoDB database
  • 🌐 Frontend built with HTML, CSS, JS and PHP (for basic testing)

🛠 Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js with Express.js
  • Database: MongoDB
  • Uploads: Multer
  • Extras: PHP scripts (for database testing and signup)

📁 Project Structure

DOCUMENT-UPLOAD-AND-RETRIEVE/ ├── config/

│ └── db.js # MongoDB connection setup

├── models/

│ └── ... # Mongoose models (if any)

├── node_modules/ # Installed npm packages

├── public/

│ ├── css/ # Stylesheets

│ ├── js/ # Frontend JavaScript

│ ├── about.html # About page

│ ├── contact.html # Contact form

│ ├── db.php # PHP backend example

│ ├── help.html # Help/FAQ page

│ ├── home.html # Homepage

│ ├── image.html # Image upload & retrieve form

│ ├── login.html # Login form

│ ├── register.html # Registration form

│ ├── sign1.php # Signup (PHP)

│ └── test_mysqli.php # PHP-MySQL connection test

├── uploads/ # Uploaded image files

│ └── [UUID].png # Saved using unique IDs

├── .gitignore # Ignore node_modules, uploads, .env

├── README.md # Project readme file

├── package.json # Node project config

🎓 Journal and 🏅 Certificate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published