This project is an AI-powered Ad Enhancer featuring a React frontend (Vite) and a FastAPI backend with Python. It integrates various APIs to scrape product details, analyze text and images using Presaige, and generate ad creatives.
- Node.js
- Python 3.x
Navigate to the backend directory, activate the virtual environment, install dependencies, and run the FastAPI server.
cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --port 8000The backend API will run on http://localhost:8000.
In a separate terminal, navigate to the frontend directory, install the required packages, and start the Vite development server.
cd ad-enhancer
npm install
npm run devThe React application will run on http://localhost:5173. Open this URL in your browser.