Skip to content

pascholynx/restaurant_ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant Chatbot

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.

Live Site

Chat Bot

Table of Contents

Features

  • 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

Technologies

  • Node.Js
  • Express
  • Socket.io
  • MongoDB
  • Express-session

Installation

To get started with the Restaurant Chatbot, follow these steps:

  1. Clone the repository:
git clone https://github.com/pascholynx/restaurant_ChatBot.git
  1. Navigate to the project directory:
cd restaurant_ChatBot
  1. Install the required dependencies:
npm install
  1. Set up your MongoDB server and update the MONGO_URL in db.js with your MongoDB connection string .

  2. Start the server:

npm start

Usage

  1. Open your web browser and navigate to http://localhost:3000 (or the appropriate port if you changed it).

  2. Interact with the chatbot using the provided options:

  • 1 to place an order
  • 99 to checkout order
  • 98 to see order history
  • 97 to see the current order
  • 0 to cancel the order
  1. Follow the chatbot prompts to complete various actions.

Contributing

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.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published