README
This repository contains both backend and frontend components for an application. Follow the instructions below to set up and run the application locally.
https://www.youtube.com/watch?v=Gx_AhuvkAIk
https://medium.com/@harshilkumar2020/ai-integrated-online-shopping-a110c92f78de
Navigate to the backend folder:
cd backend
Install the required dependencies using pip (ensure you have Python and pip installed):
pip install -r requirements.txt
Run the Flask server:
python app.py
This will start the backend server, which will be accessible at http://localhost:5000.
Navigate to the frontend folder:
cd frontend
Install the required dependencies using npm or pnpm (ensure you have Node.js installed):
# Using npm
npm install
# Using pnpm
pnpm install
Start the development server:
# Using npm
npm run dev
# Using pnpm
pnpm run dev
This will compile the frontend code and start a development server. You can access the frontend application in your browser at http://localhost:8000.
Once both the backend and frontend servers are running, you can access the full application by navigating to http://localhost:8000 in your web browser. The frontend will communicate with the backend API running at http://localhost:5000 to fetch data and perform actions as needed.
README
This repository contains both backend and frontend components for an application. Follow the instructions below to set up and run the application locally.
https://www.youtube.com/watch?v=Gx_AhuvkAIk
https://medium.com/@harshilkumar2020/ai-integrated-online-shopping-a110c92f78de
Navigate to the backend folder:
cd backend
Install the required dependencies using pip (ensure you have Python and pip installed):
pip install -r requirements.txt
Run the Flask server:
python app.py
This will start the backend server, which will be accessible at http://localhost:5000.
Navigate to the frontend folder:
cd frontend
Install the required dependencies using npm or pnpm (ensure you have Node.js installed):
# Using npm
npm install
# Using pnpm
pnpm install
Start the development server:
# Using npm
npm run dev
# Using pnpm
pnpm run dev
This will compile the frontend code and start a development server. You can access the frontend application in your browser at http://localhost:8000.
Once both the backend and frontend servers are running, you can access the full application by navigating to http://localhost:8000 in your web browser. The frontend will communicate with the backend API running at http://localhost:5000 to fetch data and perform actions as needed.