Lab 9

Your Lab 9 repository should include all your relevant files (and folders) from Lab 8. In other words I should be able to clone the repository, run your server, and test your results without any extra steps other than copying in credentials.json. You could accomplish this by forking your Lab 8 repo or using these nifty techniques to duplicate your Lab 8 repository (either the first or third option on that page would work for you).

Be certain that the user mcphee@146.57.33.% has the appropriate privileges to execute all of the SQL commands used by your code.

Now it is time to finish off this register project. As you implement the functionality below, remember that your primary mode of interaction is through your REST interface.

|field        | Description                                         |
------------- -----------------------------------------------------
transactionID The TRANSACTION ID ON which you will be grouping
startTime earliest TIME stamp of a button IN that TRANSACTION
stopTime latest TIME stamp of a button IN that TRANSACTION
duration difference IN seconds of stopTime AND startTime
user user's name
total total amount IN sale