Skip to content

TranKhanhDuy-dev/pizza_website

Repository files navigation

Pizza Website 🍕

A full-stack pizza ordering website with AI-powered customer support chatbot.

⚠️ Note

  • This project is intended for local development only.
  • Large AI model files (model.safetensors) are excluded from this repository.
  • To run the chatbot service, you must provide the trained model files manually.

Disclaimer

  • This project was developed for educational purposes only.
  • All product images belong to their respective owners and are used solely for demonstration and academic purposes.
  • No commercial use is intended.

Preview

Home Page

Home

Customization Page

Customization

Cart Page

Cart

Chatbot

Chatbot

Features

Customer Features

  • User registration and login
  • Product browsing
  • Pizza customization (size, crust, extras)
  • Cart management
  • Online payment with MoMo
  • Profile management

AI Chatbot

  • Vietnamese customer support chatbot
  • Intent classification using BERT
  • Semantic matching using Sentence-BERT
  • Conversation history support

Admin Features

  • Product management
  • Order tracking
  • Customer management

Technologies Used

Frontend

  • React
  • Vite
  • JavaScript
  • CSS

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose

AI Chatbot

  • Python
  • FastAPI
  • Hugging Face Transformers
  • BERT
  • Sentence-BERT
  • PyTorch

Project Structure

WebPizza/
│
├── vite-project/          # Frontend
├── backend/               # NodeJS API
├── backend/python/        # Chatbot API
│
├── README.md
└── LICENSE

Installation

Frontend

cd vite-project
npm install
npm run dev

Backend

cd backend
npm install
node server.js

Chatbot API

cd backend/python
pip install -r requirements.txt
python chatbotApi.py

Environment Variables

Create a .env file:

MONGO_URI=
EMAIL_USER=
EMAIL_PASS=
TWILIO_SID=
TWILIO_TOKEN=

Future Improvements

  • JWT Authentication
  • Recommendation System
  • Real-time Order Tracking
  • AI Pizza Recommendation

Author

GitHub: @TranKhanhDuy-dev

License

MIT License

About

Full-stack pizza ordering website built with React, Node.js, MongoDB and AI-powered customer support chatbot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors