Project: Georgia Restaurant Inspection
A group project in CS4400: Intro to Database Systems at Georgia Tech Summer 2015 semester. Please refer to RestaurantInspection_v1.2.pdf for the project guidelines
Project Progress Logs
Below are notes of all activities throughout the duration of the project.
5/30/2015
Finished IFD Ask TA for verification and EER diagram help to be contd
5/31/2015
ER diagram on drive started by Christine
6/1/2015
Arnav attended TA office hours from 2:30 - 6 pm. Main focus on EER.
- Criteria should not be an entity. Instead, criteria is used for our SQL query statements.
- “Restaurant list” as an entity is not needed.
- Regarding users of the database, restaurant operators and inspectors require username and password to access database as registered users while customers don’t. So we can have two superclasses: registered users whose subclasses are restaurant operators and inspectors, and guests (a.k.a customer).
- A customer must create a complaint in order to be logged into the database. A complaint must be made. Many customers can complain about the same thing just as many complaints can be made by a customer. Complaint is a weak entity type with description, and Date as a partial key attribute; complaint is related to customer and the restaurant.
- Major changes from above added to EER. Will add necessary attributes to each entity later.
6/2/2015
By Christine
- change customers to customer
- change customer to weak entity type
- Attribute added
6/3/2015
TA suggested that for each GUI, we create an IFD. If you want to learn SQL quickly and easily, go to http://www.w3schools.com/sql/default.asp Questions to ask TAs:
- “Detailed Descriptions+Scores” as one single attribute?
6/4/2015
Proposing the following assumptions (let’s make a list over here for now which we can add on to):
- Inspections occur annually for all the restaurants.
- Upon creating a restaurant, restaurant won’t have an inspection until a year after being in service.
- Upon being hired as a restaurant inspector, the inspector won’t immediately start inspecting restaurants (only in the beginning of the job for a very small amount of time, an inspector would have 0 inspection reports filed).
- Enter any assumptions starting here. Need to start creating list of constraints as well.
6/9/2015
submitted phase 1
6/13/2015
started mapping EER Ask TA: how to map derived attributes
6/24/2015
Arnav created all SQL statements which will be checked during office hours.
7/17/2015
Learn PHP GUIs needed coding
- guest restaurant search
- guest restaurant results display
- guest enter food/safety complaint
- operator enter restaurant info
- operator restaurant health inspection search
- operator restaurant health inspection search results
- inspector input of inspection report, comment on specific items
- inspector display report of restaurant inspections for specified month and year organized by county and cuisine in sorted order.
- Inspector run summary report about restaurant inspections for specified county and year.
7/19/2015
Completed most of queries. Christine does 7d, Will does 6b, Arnav does 6a. Must finish before attending office hours.
7/20/2015
Christine and Arnav will attend TA office hours, go over GUIs and corresponding queries, ask if queries meet all cases, ask about edge cases.