Skip to content

NandhuTee/ecommerce-chatbot-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Ecommerce Chatbot – Cylinder Booking Assistant

A simple chatbot project built using React (frontend) and Flask (backend) to simulate cylinder booking conversations. Deployed on Vercel (frontend) and Render (backend).


🌐 Live Links


🧠 Features

  • React + Vite-based chatbot UI
  • Flask REST API for message processing
  • Axios for HTTP requests
  • Basic styling + user-friendly layout
  • CORS enabled for cross-origin requests
  • Easy deployment on Vercel and Render

🖼️ Screenshot

Chatbot UI

Frontend Screenshot


📁 Project Structure

/frontend → React + Vite frontend /backend → Flask backend API


🚀 Local Setup

▶️ Backend (Flask)

cd backend
python -m venv venv
venv\Scripts\activate   # Windows
pip install -r requirements.txt
python app.py

Frontend (React)

cd frontend
npm install
npm run dev

📝 How It Works

  • User types a message into the chatbot.

  • Axios sends a POST request to:

  • Flask receives the message and returns a reply.

  • React updates the UI to display bot response.

🛠️ Tech Stack

-Frontend: React, Vite, Axios

-Backend: Python, Flask, Flask-CORS

-Deployment: Vercel (frontend), Render (backend)

📚 License

  • MIT

About

ecommerce-chatbot-frontend- cylinder booking system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published