/Enala-Foods-Chatbot

A restaurant chatbot application that interacts with users and helps them to order their desired meal items

Primary LanguageJavaScriptMIT LicenseMIT

Contributors Forks Stargazers Issues MIT License Twitter

Explore the docs »

Demo · Report Bugs · Request Feature

The Enala Foods Restaurant Chat Bot

This is a Restaurant Chat Bot interface that allows customers to place orders, check order history, and cancel orders. The chatbot stores user sessions based on devices and does not require authentication.

Features

  • Chat interface: The chatbot interface is designed to resemble a conversation with a human being. It is easy to use and intuitive.

  • User Session Management: The chatbot stores user sessions based on devices. This means that when a customer returns to the chatbot page from the same device, they will be able to resume their previous conversation with the bot.

  • Order Management: When a customer lands on the chatbot page, the bot sends them several options. These include:

  • Select 1 to Place an order

  • Select 99 to checkout order

  • Select 98 to see order history

  • Select 97 to see current order

  • Select 0 to cancel order


  • Order Placement: When a customer selects “1”, the bot returns a list of items from the restaurant. The customer can select preferred items from the list using the same number select system and place an order.
  • Order Checkout: When a customer selects “99”, the bot responds with “order placed” if there is an order. If there is no order, the bot responds with “No order to place”. The customer is also given an option to place a new order.
  • Order History: When a customer selects “98”, the bot returns all placed orders.
  • Current Order: When a customer selects “97”, the bot returns the current order.
  • Order Cancellation: When a customer selects “0”, the bot cancels the order if there is one.

Technologies Used

The chatbot was built using the following technologies:

  • Backend: Node.js, Express.js, express-session, dotenv
  • Frontend: HTML, CSS, JS, Socket.io

How to Use

To use the chatbot, simply navigate to the chatbot page on your device. When the page loads, the chatbot will display the available options. From there, you can select the option that you want and proceed with the conversation.

Dependencies

The Chat Bot uses the following dependencies:

  • express
  • express-session
  • socket.io
  • dotenv

Chat-bot Preview

https://enalafoodsbot.onrender.com/

Mobile Version

site-preview


Desktop Version

site-preview