Git Product home page Git Product logo

food-ordering-app's Introduction

Food Ordering App

Overview

This Food Ordering App is a simple, interactive command-line application built in Python. It allows users to view a menu, add items to their cart, remove them, and checkout with a total price calculation. This project demonstrates the use of basic Python programming concepts including dictionaries, functions, loops, and handling user input.

Features

  • View Menu: Users can view a list of available food items along with their prices.
  • Add Items to Cart: Users can add items to their cart.
  • Remove Items from Cart: Users have the option to remove items from their cart if needed.
  • Checkout: Users can checkout which displays the total price of the items in the cart.

How to Run the Application

To run this application, you need to have Python installed on your machine.

  1. Clone this repository or download the source code.

  2. Navigate to the directory where the application is stored.

  3. Run the application using Python:

    python main.py

Usage

Upon running the application, you will be presented with the menu. Follow the on-screen prompts to add or remove items from your cart, or to checkout.

Example:

Menu:
Burger - $5.99
Fries - $2.99
Drink - $1.99
Sushi - $9.99
Pizza - $7.99

Enter an item to add to cart, or type 'checkout' to checkout
>> Burger
Burger added to cart

Contributions

Contributions to this project are welcome. Please fork the repository and submit a pull request with your proposed changes.

License

This project is open-source and available under the MIT License.

food-ordering-app's People

Contributors

kongkip avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.