Skip to content

A Full-Stack AI SaaS App that uses the Clipdrop API to generate AI-powered images from prompts. Users can download the generated files and manage their usage through a credit-based system. Credits can be purchased via Razorpay integration. Built with React, Node.js, Express, and MongoDB.

Notifications You must be signed in to change notification settings

Aditya870907/Promptify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Full-Stack AI SaaS Application

A Full-Stack AI SaaS application that utilizes the Clipdrop API to generate images from text prompts. Users can download the generated files and manage usage through a credit-based system. Credits can be purchased securely via Razorpay.

πŸš€ Features

βœ… AI-Powered Image Generation – Uses Clipdrop API
βœ… Downloadable Outputs – Users can save generated images
βœ… Credit-Based System – Each request consumes credits
βœ… Secure Payments – Buy credits using Razorpay
βœ… User Authentication – Login/signup with JWT Authentication
βœ… Responsive UI – Built with Tailwind CSS & Framer Motion
βœ… Credit Purchase Form – Two-step form to submit billing details and payment options
βœ… Google Sheet Integration – Automatically appends transaction data to a Google Sheet upon payment completion

🌐 Live Demo (Frontend): https://promptify-eta-sandy.vercel.app

πŸ› οΈ Tech Stack

Frontend:

  • React.js
  • Tailwind CSS
  • Framer Motion

Backend:

  • Node.js & Express.js
  • MongoDB (Mongoose)

API & Payment Integration:

  • Clipdrop API (for AI image generation)
  • Razorpay (for payments)
  • Google Sheets API (for transaction logging)

🎯 How to Use This Project

Prerequisites

  • Node.js and npm installed
  • MongoDB instance running locally or via a cloud service
  • API keys for:
    • Clipdrop API (obtain from Clipdrop)
    • Razorpay (obtain from Razorpay Dashboard)
    • Google Sheets API (set up via Google Cloud Console with OAuth 2.0 credentials)

Setup and Run

  1. Clone the Repository and Install Dependencies
    git clone <repository-url>
    cd <repository-folder>
    cd frontend
    npm install
    cd ../backend
    npm install

Configure Environment Variables and Start the Application VITE_BACKEND_URL=http://localhost:4000 VITE_RAZORPAY_KEY_ID= VITE_RAZORPAY_KEY_SECRET= CLIPDROP_API_KEY= GOOGLE_SHEETS_CREDENTIALS= MONGO_URI= JWT_SECRET=

Start the backend and frontend: cd backend npm start cd ../frontend npm run dev

About

A Full-Stack AI SaaS App that uses the Clipdrop API to generate AI-powered images from prompts. Users can download the generated files and manage their usage through a credit-based system. Credits can be purchased via Razorpay integration. Built with React, Node.js, Express, and MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages