Skip to content

Asim-32/Document-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Document Management System

A professional Document Management System developed using Python Flask, MySQL, SQLAlchemy, HTML, CSS, and JavaScript. This application helps organizations securely upload, organize, search, preview, and manage documents with role-based access control.


πŸš€ Features

πŸ‘€ Authentication & Authorization

  • Secure Login & Logout
  • Role-Based Access (Admin & Employee)
  • Session Management

πŸ“„ Document Management

  • Upload Multiple Documents
  • Support for:
    • PDF
    • Word (.doc/.docx)
    • Excel (.xls/.xlsx)
    • Images (.jpg/.jpeg/.png)
  • Document Preview
  • Download Documents
  • Delete Documents
  • Restore Deleted Documents

πŸ‘₯ Client Management

  • Add Clients
  • Edit Clients
  • Delete Clients
  • Restore Deleted Clients
  • Client-wise Document Management

πŸ“¦ Product Document Management

  • Product Information
  • Product-wise Documents
  • Vendor Documents
  • Brand Management
  • Category Management

πŸ” Search & Filter

  • Search Documents
  • Search Clients
  • Search Products
  • Filter by Department
  • Filter by Category

πŸ“Š Dashboard

  • Total Documents
  • Total Users
  • Total Clients
  • Total Products
  • Recent Uploads
  • Dashboard Statistics

πŸ“ File Handling

  • Multiple File Upload
  • Image Preview
  • PDF Preview
  • Download Files
  • Upload History

βš™οΈ Additional Features

  • Responsive Design
  • Professional Admin Panel
  • Clean UI
  • MySQL Database
  • Secure Configuration using Environment Variables

πŸ› οΈ Technologies Used

Backend

  • Python 3.11
  • Flask
  • Flask-SQLAlchemy
  • SQLAlchemy
  • PyMySQL
  • Flask-Login
  • Python-dotenv

Frontend

  • HTML5
  • CSS3
  • JavaScript
  • Bootstrap

Database

  • MySQL

Version Control

  • Git
  • GitHub

πŸ“‚ Project Structure

Document-Management-System
β”‚
β”œβ”€β”€ app
β”‚   β”œβ”€β”€ models
β”‚   β”œβ”€β”€ routes
β”‚   β”œβ”€β”€ templates
β”‚   β”œβ”€β”€ static
β”‚   β”œβ”€β”€ uploads
β”‚   └── __init__.py
β”‚
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ run.py
β”œβ”€β”€ .gitignore
β”œβ”€β”€ README.md
└── .env (Not Included)

βš™οΈ Installation

1 Clone Repository

git clone https://github.com/Asim-32/Document-Management-System.git

2 Move to Project

cd Document-Management-System

3 Create Virtual Environment

Windows

python -m venv venv

Activate

venv\Scripts\activate

4 Install Dependencies

pip install -r requirements.txt

5 Create .env File

Create a file named .env

Example

SECRET_KEY=your_secret_key

DB_HOST=localhost
DB_USER=root
DB_PASSWORD=your_password
DB_NAME=document_management

6 Run Application

python run.py

Open

http://127.0.0.1:5000

πŸ“Έ Screenshots

Registration

image

Login

(Add Login Screenshot) image


Dashboard

(Add Dashboard Screenshot) image


Upload Documents

(Add Upload Screenshot) image


Document List

(Add All Documents Screenshot) image


Client Management

(Add Client Screenshot) image


Product Management

(Add Product Screenshot) image


πŸ”’ Security

  • Environment Variables
  • Role Based Authentication
  • Secure Login
  • Protected Routes
  • SQLAlchemy ORM
  • Session Management

πŸ“Œ Future Improvements

  • Email Notifications
  • Audit Logs
  • Cloud Storage
  • Digital Signature Support
  • OCR Integration
  • API Support
  • Document Versioning

πŸ“¦ Requirements

Install packages

pip install -r requirements.txt

πŸ‘¨β€πŸ’» Developed By

Asim Khan

GitHub

https://github.com/Asim-32


⭐ If you like this project

Please give this repository a ⭐ on GitHub.


About

Professional Document Management System built with Python Flask, MySQL, SQLAlchemy, HTML, CSS, and JavaScript featuring role-based authentication, document upload, preview, search, and client management.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors