Sharedex is a minimalist file-sharing platform built to practice modern full-stack patterns in Next.js 14. It allows users to securely upload files, protect them with passwords, email download links, and preview supported files directly in the browser. This project was built end-to-end as a learning-focused implementation.
- Secure file uploads with optional password protection
- Time-limited, private download links
- In-browser previews for PDFs, images, and documents
- Email delivery of download links with instructions
- Clean, minimal UI focused on usability
- Next.js 14 (App Router, Server Actions, API Routes)
- Prisma ORM with PostgreSQL (Neon)
- Cloudinary for file storage
- Tailwind CSS for styling
- Clerk for authentication
- Nodemailer for transactional emails
- Password hashing and validation using bcrypt
- Private file access using unsigned, time-limited Cloudinary URLs
- Middleware-based access control for protected routes
- Native browser previews for PDFs, images, and DOCX files
- No third-party viewers required
- HTML email templates sent via Nodemailer
- Secure download links generated using serverless functions
This is a demo project created for learning and experimentation purposes.