DocuMentor is a web application that allows users to upload, manage, and summarize PDF documents using AI. The platform ensures secure access using JWT-based authentication and is built with a scalable structure to support features like admin panel, document preview, and file management.
- ✅ User Authentication (JWT protected)
- 📄 PDF Upload and AI Summary Generation
- 📥 Download Uploaded Files
- 🗑️ Delete Uploaded Files
- 👁️ Document Preview (Text-based PDFs only)
- ⚙️ Scalable backend structure with separate controllers, routes, middleware, and models
- 🌐 Frontend built with React + TailwindCSS + Vite
A full walkthrough video demonstration will be added here shortly.
- React.js (Vite)
- Tailwind CSS
- React Toastify
- Node.js (ES Modules)
- Express.js
- Multer (file upload)
- pdf-parse (PDF text extraction)
- JSON Web Token (JWT)
- bcrypt.js (password hashing)
DocuMentor/
├── client/ # Frontend
│ ├── src/
│ │ ├── api/ # API calls
│ │ ├── components/ # Reusable components
│ │ ├── pages/ # Page components
│ │ ├── styles/ # CSS files
│ │ └── config.js # Base URL config
│ └── index.html
│
├── server/ # Backend
│ ├── controllers/
│ ├── middleware/
│ ├── models/
│ ├── routes/
│ └── uploads/ # Uploaded PDFs + file metadata
│
└── README.md
- JWT-based login and registration
- Passwords are hashed using
bcrypt
- Middleware used to protect routes (upload, delete, etc.)
- Future-proof setup to integrate an admin panel later
- Node.js v18+ (ESM-compatible)
- npm
git clone https://github.com/nitish9592/DocuMentor.git
cd DocuMentor
# Backend
cd server
npm install
npm start
# Frontend
cd ../client
npm install
npm run dev
- Admin Panel with dashboard
- User profile and history
- AI-powered multi-page summaries
- OCR for scanned PDFs
Pull requests and feedback are welcome. For major changes, please open an issue first.
This project is licensed under the MIT License.
Nitish Bhagat GitHub Profile
Built with ❤️ to simplify legal and document workflows.