{"id":17350816,"url":"https://github.com/divin3circle/billmanager","last_synced_at":"2025-03-27T12:20:47.819Z","repository":{"id":190047466,"uuid":"681833694","full_name":"divin3circle/billManager","owner":"divin3circle","description":"A restaurant pizza bill management system - Java","archived":false,"fork":false,"pushed_at":"2023-08-22T22:22:13.000Z","size":5,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T16:48:35.709Z","etag":null,"topics":["corejava","java","oops-in-java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divin3circle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-22T21:27:04.000Z","updated_at":"2023-08-22T21:28:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ec53e77-c0dc-4539-81bb-0317e3c3511a","html_url":"https://github.com/divin3circle/billManager","commit_stats":null,"previous_names":["divin3circle/billmanager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divin3circle%2FbillManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divin3circle%2FbillManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divin3circle%2FbillManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divin3circle%2FbillManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divin3circle","download_url":"https://codeload.github.com/divin3circle/billManager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245841758,"owners_count":20681196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["corejava","java","oops-in-java"],"created_at":"2024-10-15T17:08:19.587Z","updated_at":"2025-03-27T12:20:47.795Z","avatar_url":"https://github.com/divin3circle.png","language":"Java","readme":"# Pizza Bill Generator System - Java Project\n\nThe **Pizza Bill Generator System** is a simple object-oriented programming (OOP) project created using Java. Its main purpose is to serve as a tool for practicing and showcasing the understanding of the Java programming language. The project primarily operates through the terminal for input and output interactions; however, there are plans to develop a React website for hosting the frontend part in the future.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Usage](#usage)\n- [Class Structure](#class-structure)\n- [Future Enhancements](#future-enhancements)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\n\nThe **Pizza Bill Generator System** simulates a restaurant scenario where two types of pizzas are offered: normal pizza and deluxe pizza. The system calculates the cost of each type of pizza based on user preferences and additional selections like extra toppings, cheese, and packaging charges.\n\n## Features\n\n1. Calculate Cost of Normal Pizza:\n    - Vegetarian: 300 Ksh\n    - Non-Vegetarian: 350 Ksh\n    - Additional Extra Toppings: 100 Ksh each\n    - Additional Cheese: 100 Ksh\n\n2. Calculate Cost of Deluxe Pizza:\n    - Vegetarian: 400 Ksh\n    - Non-Vegetarian: 450 Ksh\n    - Extra Cheese and Toppings included\n\n3. Takeaway Charges:\n    - Packaging: 50 Ksh\n\n## Usage\n\nTo use the **Pizza Bill Generator System**, follow these steps:\n\n1. Clone the repository to your local machine:\n```bash\ngit clone https://github.com/your-username/pizza-bill-generator.git\n```\n2Navigate to the project directory:\n```bash\ncd pizza-bill-generator\n```\n3Compile and run the Java program:\n```bash\njavac Main.java\njava Main\n```\n4. Follow the prompts in the terminal to select pizza type, preferences, and packaging choice.\n\n## Class Structure\n\nThe project consists of the following main classes:\n\n1. `Pizza`:\n- Properties: pizzaType, isVegetarian, basePrice, extraToppings, extraCheese\n- Methods: calculateCost()\n- etc\n\n2. `NormalPizza` (extends `Pizza`):\n- Methods: addToppings(), addCheese()\n\n3. `DeluxePizza` (extends `Pizza`):\n- Constructor: automatically includes extra cheese and toppings\n\n4. `Takeaway`:\n- Methods: applyPackagingCharge()\n\n5. `Main`:\n- Contains the main method to interact with the user and process pizza orders.\n\n## Future Enhancements\n\nWhile the current version of the **Pizza Bill Generator System** is a terminal-based application, there are plans to expand its capabilities by creating a React website for the frontend. This would involve developing a user-friendly interface to interact with the pizza ordering system.\n\n## Contributing\n\nContributions to the project are welcome! If you have ideas for improvements, bug fixes, or new features, feel free to submit pull requests. Make sure to follow the project's coding conventions and keep the codebase clean and organized.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE). You are free to modify and distribute the code as per the terms of the license.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivin3circle%2Fbillmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivin3circle%2Fbillmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivin3circle%2Fbillmanager/lists"}