Giter VIP home page Giter VIP logo

recipegen's Introduction

-# PantryPal Team 32

Clone the repo

Create .vscode folder in root directory

In .vscode folder, create launch.json and paste the following, ensure you change your javaFX lib file path

{

	"version": "0.2.0",
	
	"configurations": [

		{

			"type": "java",

			"name": "PantryPal",

			"request": "launch",

			"mainClass": "client.PantryPal",

			"vmArgs": "--module-path <path> --add-modules javafx.controls,javafx.fxml"

		},

		{

			"type": "java",

			"name": "Server",

			"request": "launch",

			"mainClass": "server.Server",

		},

	]

}

In .vscode folder, create settings.json file, and paste the following code

{

	"java.configuration.updateBuildConfiguration": "automatic",

	"java.compile.nullAnalysis.mode": "automatic"

}

How to run Pantry pal 2:

  1. Go to "Run and Debug" tab.
  2. Run the Server by picking Server option in the dropdown tab and click the run icon. If successfully done, the console will display "Server started on port 8100"
  3. Run the Pantry pal 2 application by picking Pantry pal option in the dropdown tab and click the run icon. If successfully done, the application will launch.
  4. In this stage, you are prompted to log in. Create an account if you haven't and log in if you haven't.
  5. When you are logged-in you are able to see "Create new recipe", "Filter by", "Sort A-Z", "Sort Z-A", "Sort by latest", "Sort by earliest" and "Log out" button. Once your account has saved recipes, you are able to filter recipes according to the meal type and sort recipes according to alphabetical and chronological order.
  6. When you click on the "Create new recipe" button, you are prompted to a new page with a "start recording" and "stop recording" button. To create a new recipe, click on the recording button and answer the desired meal type prompt. Then click on stop recording. Do the same thing with the desired ingredients prompt. If done correctly, you will be brought into a new page where the application will generate a recipe according to your desired meal type and ingredients.
  7. In the new page, you are able to regenerate the recipe if you are not satisfied by clicking the "regenerate recipe". You are also able to edit the instructions and ingredients of the recipe by clicking the edit button. Next to that, you are also able to save and cancel the recipe generated.

recipegen's People

Contributors

b4tan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.