- π About the Project
- π» Getting Started
- π₯ Authors
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
The aim of this project is to create a Calorie Counter as the final project for the masters course of Python.
Python
- The program can display a list of items as menu by reading data from a JSON file. As an added advantage, only updating the JSON file can update the menu and entire order taking process in the next run.
- The user can choose what to order by simply typing the names of the food items available in the order. Invalid or spelling mistakes in an order will be displayed to the user for correction.
- A valid order will create an
Order
object and will go through a process of calorie and price counting after which total calorie and total price will be displayed to the user. - Order will be refused if the total calorie is more than 2000.
- All orders are stored in a
JSON
file and can be visualized usingmatplotlib
by runningvisualize.py
file. Theall_orders.json
file is initially populated for visualization purpose. - Running only the
main.py
drives the whole program to return the desired output.
To clone the repository in local environment try following steps.
- A web browser like Google Chrome.
- A code editor like Visual Studio Code with
Git
andPython3
. -
Matplotlib
You can check if Git is installed by running the following command in the terminal.
$ git --version
Likewise for Node.js and npm for package installation.
$ python --version
Clone the repository using this link.
In the terminal, go to your file directory and run this command.
$ git clone https://github.com/PrangonGhose/Calorie-Counter.git
In the terminal, run these commands to get into development.
$ cd Calorie-Counter
$ python main.py
π€ Prangon Ghose
- GitHub: @PrangonGhose
- LinkedIn: Prangon Ghose
Contributions, issues, and feature requests are welcome! Add suggestions by opening new issues.
Feel free to check the issues page.
Give a βοΈ if you like this project!
Authors would like to thank: