Imagify is a full-stack AI-powered web application that allows users to generate images from text prompts. It includes authentication, credit-based usage, and secure payments using Razorpay.
🚀 Check out the live project here:
👉 https://imagify-client-spuf.onrender.com
- 🔐 User Authentication (Register / Login using JWT)
- 🎨 AI-powered Text to Image Generation
- ⭐ Credit-based Image Generation System
- 💳 Secure Payments with Razorpay
- 📊 Real-time Credit Balance Update
- 🧾 Multiple Subscription Plans (Basic, Advanced, Business)
- 📱 Responsive UI
- ☁️ Deployed on Render.
- React.js (Vite)
- Tailwind CSS
- React Router DOM
- Axios
- Framer Motion
- React Toastify
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT Authentication
- Razorpay Payment Gateway
- ClipDrop AI API (Text-to-Image)
- JWT-based authentication
- Token stored in localStorage
- Protected routes using middleware
- Credits fetched using authenticated APIs
- User selects a credit plan
- Backend creates Razorpay order
- Razorpay Checkout opens
- Payment is verified on backend
- Credits are added to user account
- UI updates credit balance instantly
- PORT=5000
- MONGO_URI=your_mongodb_url
- JWT_SECRET=your_jwt_secret
- RAZORPAY_KEY_ID=your_key_id
- RAZORPAY_KEY_SECRET=your_key_secret
- CLIPDROP_API=your_clipdrop_api_key
- CURRENCY=USD
- VITE_BACKEND_URL=your_backend_url
- VITE_RAZORPAY_KEY_ID=your_key_id
cd imagify
cd server npm install npm start
cd client npm install npm run dev
- Frontend deployed on Render (Static Site)
- Backend deployed on Render (Web Service)
- Database hosted on MongoDB Atlas
Priya Kumari
Full Stack Developer (MERN)
GitHub: https://github.com/priyas1672
If you like this project, give it a ⭐ on GitHub!