This Restaurant Chatbot project allows customers to interact with a chatbot to place orders, view their order history, check current orders, and cancel orders. It is built using Node.js, Express, Socket.IO, and MongoDB.
- Real-time chat interface using Socket.IO
- User session management with express-session
- Place orders, view order history, check current orders, and cancel orders
- Menu items stored in MongoDB
- No authentication required
- Node.Js
- Express
- Socket.io
- MongoDB
- Express-session
To get started with the Restaurant Chatbot, follow these steps:
- Clone the repository:
git clone https://github.com/pascholynx/restaurant_ChatBot.git
- Navigate to the project directory:
cd restaurant_ChatBot
- Install the required dependencies:
npm install
-
Set up your MongoDB server and update the
MONGO_URL
indb.js
with your MongoDB connection string . -
Start the server:
npm start
-
Open your web browser and navigate to
http://localhost:3000
(or the appropriate port if you changed it). -
Interact with the chatbot using the provided options:
1
to place an order99
to checkout order98
to see order history97
to see the current order0
to cancel the order
- Follow the chatbot prompts to complete various actions.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.