Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 4.2 KB

README.md

File metadata and controls

71 lines (58 loc) · 4.2 KB

cse-110-project-team-4

Opening the PantryPal App

  1. Run the server first by running the Server.java file.
  2. Run the application itself by running the App.java file.
  3. The list of recipes that you have created while the server has been running will be displayed.

Creating an Account

  1. In order to create an account, click on the "Create one." button
  2. This will take you to the Create Account Window, where you can create an account
  3. Enter your desired username and password
  4. Click the "Create Account" button
  5. If the account information is not valid then an error message will display
  6. Once you have entered valid account information and clicked create account, the app will take you to the Login Window prompting you to login

Logging into an Account

  1. In order to login to your account, first enter the correct account information
  2. If you want to save your account information and automatically login next time, check the remember me box and then click login
  3. Click on the "Login" button
  4. This will take you to the recipe list window with your saved recipies

Creating a Recipe

  1. In order to create a new recipe, click on the "+" button at the bottom of the screen.
  2. This will take you to the Generate Recipes Window, where you can make a recipe using a voice recording.
  3. Start your recording by pressing the "start" button and stop it when you are done by pressing the "stop" button.
  4. Make sure to include a meal type in your voice recording.
  5. If your voice prompt is valid then a transcription of your recording will appear on the screen.
  6. If it is not valid then a message will display prompting you to redo the recording.
  7. Once you have a valid voice prompt, press "Generate", which will open the Detailed Recipe window with the details of the recipe that the app has generated.

Saving a Recipe

  1. Once you have generated a recipe, or have made edits that you want to save, press the "Save" button.
  2. Then you can click the "Back" button to exit to the main window, where you can find the saved recipe.

Accessing the Contents of A Recipe

  1. If you have already created a recipe and you would like to access its contents, simply click on the name of the Recipe and it will open a new window with its contents.

Editing a Recipe

  1. If you want to edit a recipe, click the "Edit" button, which will now allow you to edit the content of the recipe.
  2. Once you are done editing, press "Save" to save your edits and "Back" to go back to the main window.

Deleting a Recipe

  1. To delete a recipe that you no longer want, click on the recipe in the main window.
  2. Then, simply press the "Delete" button and the "Back" button and your recipe will no longer be there.

Sorting Recipe List

  1. In order to sort the recipe list alphabetically or chronologically in ascending or descending order, click on the drop down titled "Chronologically ASC"
  2. Choose your desired sorting option by clicking on one of the options of "Chronologically ASC," "Chronologically DSC." "Alphabetically ASC," and "Alphabetically DSC"
  3. Once you have click the sorting option, the page will automatically reload to the sorted list with respect to the sort option

Filtering Recipe List

  1. In order to filter recipe list by meal type, click on the drop down titled "No Filter"
  2. Choose your desired filter option by clicking on one of the options of "Breakfast," "Lunch," "Dinner," and "No Filter"
  3. Once you have clicked the filtering option, the page will automatically reload to the filtered list with respect to the filter option

Reload Recipe

  1. In order to reload a generated recipe, click on the "Reload" button after generating a recipe
  2. The app will regenerate and reload the page to display the newly generated recipe

Share Recipe

  1. In order to share a recipe, click on the recipe you wish to share from the list of recipes
  2. Click on the "Share" button
  3. A popup will appear with a copyable link for that respective recipe
  4. Copy the link and click the "okay" button
  5. The popup will close and you now have a copied link to share
  6. In order to view to shared recipe link, past the link into the browser
  7. The window will display details about the shared recipe

https://github.com/ucsd-cse110-fa23/cse-110-project-team-4