pocket-chef
v1.0.0
Published
node.js server designed to connect the front and back end of Pocket-Chef
Downloads
2
Readme
Pocket-Chef
Class project for CSCE 470
To set up the pocket chef environment, type javac Main.java
(if the .class files are not in the present folder). There may be a couple of warnings but these do not affect the functionality.
Then, simply run Main.java using
java Main
This will bring up a brief text description of how to use the Pocket-Chef demo.
Type "quit" and press enter to exit Pocket-Chef at any time.
Otherwise, follow the instructions on the screen to create a query to the Pocket-Chef database.
First, type in each ingredient available to you. Enter "done" once all ingredients have been entered.
Then, type in the number of servings you want.
Then, type in a brief description of the recipe you are looking for.
Avoid using punctuation in the description.
The program will list the top 3 results from the Pocket-Chef database.
Note that for Pocket-Chef to run, corpus.txt and the fileParser folder need to be in the same folder as Main.java.
fileParser is a package that compiles from the dataFile.java file in the Data Manipulation folder.
Additionally, note that this demo program is not robust against malicious inputs. For example, the program will throw an exception if a non-integer is entered for any of the integer inputs.