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.
- Secure Login & Logout
- Role-Based Access (Admin & Employee)
- Session Management
- Upload Multiple Documents
- Support for:
- Word (.doc/.docx)
- Excel (.xls/.xlsx)
- Images (.jpg/.jpeg/.png)
- Document Preview
- Download Documents
- Delete Documents
- Restore Deleted Documents
- Add Clients
- Edit Clients
- Delete Clients
- Restore Deleted Clients
- Client-wise Document Management
- Product Information
- Product-wise Documents
- Vendor Documents
- Brand Management
- Category Management
- Search Documents
- Search Clients
- Search Products
- Filter by Department
- Filter by Category
- Total Documents
- Total Users
- Total Clients
- Total Products
- Recent Uploads
- Dashboard Statistics
- Multiple File Upload
- Image Preview
- PDF Preview
- Download Files
- Upload History
- Responsive Design
- Professional Admin Panel
- Clean UI
- MySQL Database
- Secure Configuration using Environment Variables
- Python 3.11
- Flask
- Flask-SQLAlchemy
- SQLAlchemy
- PyMySQL
- Flask-Login
- Python-dotenv
- HTML5
- CSS3
- JavaScript
- Bootstrap
- MySQL
- Git
- GitHub
Document-Management-System
β
βββ app
β βββ models
β βββ routes
β βββ templates
β βββ static
β βββ uploads
β βββ __init__.py
β
βββ requirements.txt
βββ run.py
βββ .gitignore
βββ README.md
βββ .env (Not Included)
git clone https://github.com/Asim-32/Document-Management-System.gitcd Document-Management-SystemWindows
python -m venv venvActivate
venv\Scripts\activatepip install -r requirements.txtCreate a file named .env
Example
SECRET_KEY=your_secret_key
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=your_password
DB_NAME=document_managementpython run.pyOpen
http://127.0.0.1:5000
(Add All Documents Screenshot)

- Environment Variables
- Role Based Authentication
- Secure Login
- Protected Routes
- SQLAlchemy ORM
- Session Management
- Email Notifications
- Audit Logs
- Cloud Storage
- Digital Signature Support
- OCR Integration
- API Support
- Document Versioning
Install packages
pip install -r requirements.txtAsim Khan
GitHub
Please give this repository a β on GitHub.




