Skip to content

onurkaygin/akbankpythonbootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pizza Ordering System

English

Global AI Hub and Akbank have collaborated on a Python Bootcamp project. This program is designed to help a customer utilize pizza ordering service and manage their orders. The system allows users to select pizzas from a menu, customize them with extras, provide their address and payment information while placing the order.

This pizza ordering system is a Python file that can be run using an IDE such as PyCharm. The program presents users with a menu and records their pizza order. The system saves orders to a database, providing a resource for future customer orders. For this operations:

  1. This pizza ordering system can be a great example for those who want to learn the basics of Python programming language and database operations. Additionally, this system can serve as a foundation for creating a similar system for any business that provides customer service, such as restaurants, cafes, or other service-oriented businesses.
  2. We created two files for the project, defining one as a library file and the other as the main Python file. We defined a Pizza superclass and subclass to create the built-in information for pizzas. We did the same process for pizza sauces to ensure the code follows a standard structure.
  3. We created a class for the order database and made it store the name, surname, national identification number, card number, card password, card CVC code, pizza description, pizza price, and order time in the database.
  4. We placed limitations on variables obtained from the customer, such as name, surname, national identification number, card number, card password, and card CVC code, to ensure correct input.
  5. We called the library file from the main file and made it ready for use.
  6. We split the menus into two parts to allow for easier selection.
  7. We defined menu selections, data entry, error messages, and user notifications.
  8. When this loop is completed, we ensured the creation of the Orders_Database.csv file defined in the library file, and the data is saved in a regular manner.

Team Members:

Turkish

Global AI Hub ve Akbank işbirliğinde Python Bootcamp .Bu program, bir müşterinin pizza sipariş hizmetinden yararlanmasına almasına yönetmesine yardımcı olmak için tasarlanmıştır. Bu sistem, kullanıcıların menüden pizzaları seçmelerine, ekstralarla özelleştirmelerine, siparişlerini verirken adreslerini ve ödeme bilgilerini girerek ödeme yapmalarına olanak tanır.

Bu pizza sipariş sistemi, pycharm veya benzeri bir IDE ile çalıştırılabilen bir Python dosyasıdır. Program, kullanıcıya bir menü sunar ve onların pizza siparişini kaydeder. Bunun için:

  1. Proje için iki dosya oluşturduk, birini kütüphane birini ana python dosyası olarak tanımladık.
  2. Pizza super class ve ve subclass tanımlayarak pizzaların yerleşik bilgilerini oluşturduk. Aynı işlemi pizza sosları için de yapıp kodun standart bir düzende ilerlemesini sağladık.
  3. Sipariş veritabanı için sınıf oluşturduk ve burada isim, soyisim, TC kimlik, kart numarası, kart şifresi, kart CVC kodu, sipariş edilen pizzanın tanımı, sipariş edilen pizzanın fiyatı ve sipariş zamanını veritabanına kaydetmesini sağladık.
  4. İsim, soyisim, TC kimlik, kart numarası, kart şifresi, kart CVC kodu gibi müşteriden alınan değişkenlere doğru girilebilmesi için sınırlamalar koyduk.
  5. Ana dosya üzerinden kütüphane dosyasını çağırıp burada kullanıma hazır hale getirdik.
  6. Daha rahat bir şekilde seçim sağlanması için menüleri ikiye ayırdık .
  7. Menü seçimleri, veri girişleri, hata mesajları ve kullanıcı bilgilendirmelerini tanımladık.
  8. Bu döngü tamamen bittiğinde kütüphane dosyası içerisinde tanımlanan Orders_Datase.csv dosyasını oluşturulmasını ve bu verilerin düzenli bir şekilde kaydedilmesini sağladık.

Grup Üyeleri:

About

Pizza Ordering System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages