Skip to content

This project simulates a simple application where information about a restaurant is made available to the user.

Notifications You must be signed in to change notification settings

Python-Coding-Assignments/Restaurant-Ratings-Part-5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

video_poster_1

Table of Contents
  1. About the Project
  2. Getting Started
  3. Contact

About the Project

This project simulates a simple application where information about a restaurant is made available to the user. The user can do any of the following: print all restaurants (including information about each restaurant), print all ratings for a restaurant specified by the user, add more ratings to a restaurant he or she specifies, print a specified restaurant's rating, edit a specified restaurant's rating, and lastly add a new restaurant if it has yet to exist in this application.

In addition to the tasks this application accomplishes above, the project also includes a new class called User. With the implementation of this User class, there is now support to allow the user to log into the application, and have their restaurant information saved in text files.

When the user first logs into the application, the default information regarding the restaurants is provided by a function; however, once the user has logged in at least once, this function will not be called anymore. Instead, the information regarding the user's restaurants will be loaded from text files and stored into objects within the program.

The objective of this program is to demonstrate the following:

  • show a basic understanding of classes and how they work, including the init constructor, setters, getters, and now polymorphism
  • introduce file input and output through various functions
  • further utilize the concept of encapsulation in this simple program and work with attributes that are made private to the user

In this program, the user can enter anything, even when prompted with entering an integer menu selection, and the program will still function as intended.

Getting Started

The project was designed to be ran in the command prompt on windows machines. You can download the RestRatingsPart5 directory and save it onto your device. Then, run the command prompt and change the directory until you are within the RestRatingsPart5 folder. Afterwards, you can run make and the project should compile. Otherwise, you may need to change the file path within the code manually in order for the code to compile.

Once the file path is set up correctly, you then are prompted to log into the application. For this version of the project, you need to use the following login credentials: the name should be Garrett and the password is garrettbovo.

Contact

Name: Garrett Ellis
Project Link: https://github.com/Python-Coding-Assignments/Restaurant-Ratings-Part-5/tree/main

About

This project simulates a simple application where information about a restaurant is made available to the user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published