https://github.com/mutopia7/uploader
image uploader site
https://github.com/mutopia7/uploader
alpinejs ejs express html js passport postg prisma tailwind vercel
Last synced: 9 months ago
JSON representation
image uploader site
- Host: GitHub
- URL: https://github.com/mutopia7/uploader
- Owner: mutopia7
- Created: 2025-09-09T13:15:43.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-14T20:17:30.000Z (9 months ago)
- Last Synced: 2025-09-14T21:29:28.476Z (9 months ago)
- Topics: alpinejs, ejs, express, html, js, passport, postg, prisma, tailwind, vercel
- Language: CSS
- Homepage: https://uploader11.vercel.app
- Size: 1.03 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📸 PhotoUploader
Visit here [PhotoUploader](https://uploader11.vercel.app/)
A modern and secure **Photo Upload & Management** web app built with **Node.js, Express, EJS, Prisma, Passport, Cloudinary, Alpine.js, and TailwindCSS**.
Deployed seamlessly with **Vercel**.
---
## 🚀 Features
- 🔐 **Authentication** with Passport.js (Login & Signup)
- 🗂️ **User-specific storage** (folders & file management)
- ☁️ **Cloud storage** via Cloudinary
- 🎨 **Dark/Light Mode** toggle with Alpine.js + TailwindCSS
- ✅ **Validation** with custom middleware
- 💾 **Session handling** stored in PostgreSQL (via Prisma)
- ⚡ **Responsive UI** with TailwindCSS + Alpine.js
- 🛡️ Secure deployment ready (Helmet, sessions, flash messages)
---
## 🛠️ Tech Stack
- **Backend:** Node.js, Express.js
- **Frontend:** EJS, TailwindCSS, Alpine.js
- **Database:** PostgreSQL with Prisma ORM
- **Auth:** Passport.js (Local strategy)
- **Storage:** Cloudinary for images
- **Session Store:** PrismaSessionStore
- **Deployment:** Vercel
---
## 📂 Project Structure
```bash
├── prisma/ # Database schema & migrations
├── src/
│ ├── app.js # Express app entry
│ ├── config/ # DB, Passport, Cloudinary configs
│ ├── controllers/ # App controllers
│ ├── middlewares/ # Auth middlewares
│ ├── public/ # CSS, JS, static files
│ ├── routes/ # Express routes
│ ├── uploads/ # Temporary uploads (before Cloudinary)
│ ├── validators/ # Form validators
│ └── views/ # EJS templates (layouts & partials)
├── tailwind.config.js # TailwindCSS config
├── postcss.config.js # PostCSS config
├── package.json
└── vercel.json # Vercel deployment config
```
---
## 👨💻 Author
Developed with ❤️ by **Rasool**
📧 Contact: mutopia20@gmail.com
🐙 GitHub: [mutopia7](https://github.com/mutopia7)