https://github.com/yukti-says/imagify
Imagify is a full-stack SaaS platform that allows users to generate AI-powered images with ease. Users can sign up, choose a subscription plan, generate high-quality visuals, and manage their usageβall in one place.
https://github.com/yukti-says/imagify
context-api express full-stack-web-development fullstack-development javascript jwt nodejs reactjs reastful-api
Last synced: 8 months ago
JSON representation
Imagify is a full-stack SaaS platform that allows users to generate AI-powered images with ease. Users can sign up, choose a subscription plan, generate high-quality visuals, and manage their usageβall in one place.
- Host: GitHub
- URL: https://github.com/yukti-says/imagify
- Owner: yukti-says
- Created: 2025-06-28T02:07:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-05T07:47:34.000Z (12 months ago)
- Last Synced: 2025-07-05T08:32:47.401Z (12 months ago)
- Topics: context-api, express, full-stack-web-development, fullstack-development, javascript, jwt, nodejs, reactjs, reastful-api
- Language: JavaScript
- Homepage: https://imagify-lime-beta.vercel.app
- Size: 1.21 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π¨ Imagify β Text-to-Image SaaS App
**Imagify** is a full-stack SaaS web application that allows users to generate high-quality AI images from text prompts using the [ClipDrop API](https://clipdrop.co/apis). Users receive **10 free credits** upon signup, and can use each credit to generate an image. Designed with a modern UI, it uses **React + Framer Motion** for animation and **Node.js + Express + MongoDB** for the backend, authentication, and credit management.
> π‘ Razorpay payment integration and CI/CD pipeline are planned for future updates.
---
## π Live Demo
- **Frontend**: [https://imagify-m5vmcyea9-yukti-sahus-projects.vercel.app](https://imagify-m5vmcyea9-yukti-sahus-projects.vercel.app)
- **Backend API**: [https://imagify-n158.onrender.com](https://imagify-n158.onrender.com)
---
## π§© Tech Stack
| Layer | Technology |
|---------------|----------------------------------------------|
| **Frontend** | Vite + React, React Router, Framer Motion |
| **Backend** | Node.js, Express, JWT |
| **Database** | MongoDB + Mongoose |
| **API** | [ClipDrop API](https://clipdrop.co/apis) |
| **Styling** | Tailwind CSS, Gradient background, Toastify |
| **Deployment**| Vercel (frontend), Render (backend) |
---
## π Features
- π **User Authentication**
- Signup/Login with JWT tokens
- Auth state handled via context
- π **Free Credits**
- 10 free credits on signup
- Each image costs 1 credit
- π§ **AI Image Generation**
- Prompt-based generation using ClipDrop API
- π¬ **Notifications**
- Toast-based real-time alerts
- π¨ **Animated & Responsive UI**
- Built with TailwindCSS + Framer Motion
- π¦ **Modular Code Structure**
- Clean folder layout: `pages/`, `components/`, `context/`, `api/`, etc.
---
# π¦ Imagify Project Structure
```
Imagify/
βββ client/
β βββ components/
β βββ pages/
β βββ context/
β βββ App.jsx
β βββ main.jsx
β βββ .env
βββ server/
β βββ controllers/
β βββ models/
β βββ routes/
β βββ middleware/
β βββ index.js
β βββ .env
```
---
## π οΈ How to Run Locally
### 1. Clone the Repo
```bash
git clone https://github.com/yukti/imagify.git
cd imagify
```
### 2. Set Up Backend
```bash
cd server
npm install
```
Create a `.env` file in the `server` folder:
```env
PORT=5000
MONGO_URI=your_mongodb_uri
CLIPDROP_API_KEY=your_clipdrop_key
JWT_SECRET=your_jwt_secret
```
Start the backend:
```bash
npm start
```
### 3. Set Up Frontend
```bash
cd ../client
npm install
```
Create a `.env` file in the `client` folder:
```env
VITE_BACKEND_URL=http://localhost:3000
```
Start the frontend:
```bash
npm run dev
```
Visit: [http://localhost:5173](http://localhost:5173)
---
## π Deployment
| Platform | Use | URL |
|----------|----------|-------------------------------------|
| Vercel | Frontend | imagify-m5vmcyea9.vercel.app |
| Render | Backend | imagify-n158.onrender.com |
---
## π Planned Features
- π³ Razorpay Integration for Credit Purchases
- πͺ Image download, history & save feature
- π Usage analytics dashboard
- β¨ Prompt enhancement suggestions
- π Admin panel for user management
- π CI/CD with GitHub Actions for auto-deploy
---
## π©βπ» What I Learned
While building Imagify, I learned how to:
- Architect a full-stack SaaS app with real-world functionality
- Handle JWT-based auth and secure API routes
- Connect and use the ClipDrop API for real-time image generation
- Structure codebases cleanly for frontend and backend separation
- Deploy apps on Vercel and Render, managing environment variables securely
- Create a smooth, responsive UI with Tailwind and Framer Motion
- Use context API for global auth and modal state management
- Plan for scalability with modular backend design
---
## π§ Credits & API
- ClipDrop API for AI image generation β [clipdrop.co/apis](https://clipdrop.co/apis)
- Inspired by AI SaaS projects & indie devs building in public
---
## π License
This project is licensed under the MIT License.
---
## πββοΈ Developed by
Yukti Sahu