Skip to content

Muskan-R-S/mock-drive-trough

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mock Drive Thru

A mock drive thru ordering system that allows users to place and cancel their orders using AI.

The user will input the order details in natual language. The user can opt to order the following items

  1. Burgers
  2. Fries
  3. Drinks.

The user will be able to see the order history and the counter for total number of burgers, fries, and drinks.

Example: User enters "I would like to order a burger and fries" -> an order of 1 burger and 1 fries will be created and the burger count and fries count will be updated.

Setup

Frontend

To setup the frontend navigate to the frontend directory and run the following commands:

  1. npm install
  2. npm run dev

Backend

To setup the backend navigate to the backend follow the steps below.

  1. Create a virtual environment. [python3 -m venv myvenv]
  2. Activate the virtual environment. [source myvennv/bin/activate]
  3. Install all dependencies. [Run command: poetry install]
  4. Create an env variable to hold the Open AI API key [export OPEN_AI_API_KEY = "your_key"]
  5. Finally run the app using the following command: poetry run python main.py

Demo

Here is a small demo of the app.

Demo1: Placing an order.

video.1.mp4

Demo2: Cancelling the order.

video.2.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors