AI.Work is a full-stack web application inspired by Pinterest, where users can register, log in, generate AI-powered images using the ClipDrop API, and manage their posts. Images are stored and served via Cloudinary for fast, reliable, and scalable delivery.
- 🔐 User Authentication (Register/Login/Logout with Passport.js)
- 📸 AI Image Generation using ClipDrop API
- ☁️ Image Upload & Storage via Cloudinary
- 🖼️ Pinterest-like Feed with user-generated posts
- 👤 Profile Management with profile image support
- 🧾 EJS Templating with responsive views
- 🌐 MongoDB Atlas for cloud database
- 💡 Post Editing & Deletion (with Cloudinary cleanup)
- EJS (Embedded JavaScript templates)
- HTML, CSS, GSAP, SplitType
- Node.js
- Express.js
- Passport.js for authentication
- MongoDB with Mongoose
- Multer + Cloudinary for file uploads
- ClipDrop API (Text-to-Image Generation)
- Cloudinary (Image hosting)
- MongoDB Atlas (Cloud DB)
- dotenv, UUID, Streamifier, Express-Session, and more
git clone https://github.com/HarshitKumarSahu/aiwork.git
cd aiworknpm install --legacy-peer-depsCLOUD_NAME=your_cloudinary_cloud_name
CLOUD_API_KEY=your_cloudinary_api_key
CLOUD_API_SECRET=your_cloudinary_api_secret
MONGO_URI=your_mongodb_atlas_connection_string
CLIPDROP_API_KEY=your_clipdrop_api_key
SESSION_SECRET=your_secret_session_keynpm startThe server runs at http://localhost:3000 by default.
npm start # Starts the Express server (entry: ./bin/www)- 🌄 AI Image Generation:
/generate - 📤 Upload a Post:
/upload - 🧑💻 User Profile:
/profile - 🖼️ Image Feed:
/feed
This project is licensed under the MIT License.
Harshit Kumar Sahu
🔗 LinkedIn
If you liked the project:
- ⭐ Star the repo
- 🐛 Report issues
- 📤 Share with your friends