Project Overview
The Lenstec Patient Product Document Portal is a secure, web-based medical document management platform developed for Lenstec. The system centralizes product-related patient documentation and provides structured access control for administrators and subscribed customers.
The portal enables medical professionals and authorized users to securely access, search, and subscribe to official product documentation, while administrators maintain full control over document management and distribution.
The solution was built using modern full-stack technologies with scalability, security, and performance in mind.

The goal of the project was to create a centralized digital platform that:
Eliminates manual document distribution
Ensures controlled access to sensitive medical documentation
Notifies subscribed users automatically when documents are updated
Provides a seamless user experience across devices
Maintains structured document organization and search functionality
The system follows a full-stack architecture:
Built with Next.js (React-based framework)
UI developed using Next UI components
Responsive, clean, and medical-grade interface
Server-side rendering (SSR) for improved performance and SEO
Developed with Node.js
RESTful API architecture
Secure authentication & authorization system
Role-based access control
MongoDB (NoSQL database)
Flexible schema for document metadata, users, and subscriptions
Cloudinary integration for secure document upload and storage
Optimized document delivery
Scalable cloud-based file management
The Super Admin has complete control over the platform:
Upload medical documents via Cloudinary
Edit or replace existing documents
Manage customer accounts
Organize documents by category
Track document updates
Control user subscriptions
The admin dashboard ensures structured content governance and secure document lifecycle management.
Customers (authorized users) can:
Register and securely log in
Subscribe to specific documents
View and download permitted documents
Search documents using keywords
Receive email notifications when subscribed documents are updated
This ensures customers always have access to the most current product documentation.
One of the key features implemented:
Users can subscribe to individual documents
When an admin updates a document,
→ All subscribed users automatically receive email notifications
This guarantees compliance and keeps medical professionals informed in real time.
Search functionality based on metadata
Fast document filtering
Keyword-based lookup
Optimized MongoDB queries for performance
This significantly improves user experience and reduces time spent locating critical documents.
Role-based access control (Super Admin / Customer)
Secure login & signup workflow
Protected API routes
Controlled document access
Security was a major priority due to the medical nature of the content.
Medical documentation requires strict access control and update tracking.
Solution:
Implemented role-based authorization and structured subscription logic to ensure only authorized users can access documents.
Users needed automatic alerts when subscribed documents changed.
Solution:
Developed a backend-triggered email notification system that detects document updates and sends structured notifications to subscribed users.
Handling large medical PDFs and structured storage securely.
Solution:
Integrated Cloudinary for scalable document management and efficient cloud delivery.
Centralized all product documentation in one secure portal
Reduced manual document distribution
Improved compliance through update notifications
Enhanced user experience with search and subscriptions
Enabled scalable document management infrastructure
This project highlights my ability to:
Build secure medical-grade web applications
Design role-based SaaS systems
Integrate third-party cloud services (Cloudinary)
Implement subscription-based logic
Develop scalable full-stack architectures
Deliver professional admin dashboards
This project is showcased in my portfolio strictly as a development reference. All rights, trademarks, branding, and operational ownership belong to Lenstec. My involvement was exclusively in the capacity of a Full Stack Developer.