Click here to view the live demo
PromtPixelAI is an AI-powered image generation SaaS web application built with the MERN stack. It uses the Clipdrop API to generate high-quality images and includes a secure login/signup system.
- AI-based image generation using the Clipdrop API.
- User authentication system with login and signup functionality.
- Clean and modern user interface.
- Clone the repository:
git clone https://github.com/Darshan1915/PromtPixelAI.git- Navigate to the project directory:
cd PromptPixel AI- Navigate to the server folder:
cd Prompt_Pixel_AI_server- Install dependencies:
npm install-
Configure environment variables: Create a
.envfile in theserverfolder and add the following:MONGODB_URI=<your-mongodb-connection-string> JWT_SECRET=<your-jwt-secret> CLIPDROP_API=<your-clipdrop-api-key> RAZORPAY_KEY_ID = <your-RAZORPAY_KEY_ID> RAZORPAY_KAY_SECRET = <your-RAZORPAY_KAY_SECRET> CURRENCY = INR
-
Start the server:
npm run server- Navigate to the client folder:
cd PromptPixel_AI_client- Install dependencies:
npm install-
Configure environment variables: Create a
.envfile in theclientfolder and add the following:VITE_BACKEND_URL=<url-for-server-side>
-
Start the client:
npm run dev- Install dependencies:
npm install - Run the server:
npm run server
- Install dependencies:
npm install - Run the client:
npm run dev
MONGODB_URI: MongoDB connection string.JWT_SECRET: Secret key for JSON Web Token.CLIPDROP_API: API key for the Clipdrop API.
VITE_BACKEND_URL: URL of the server application.
Feel free to reach out for further assistance or feature suggestions!