Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spycsh/digitalcookbook
A digital cookbook GUI
https://github.com/spycsh/digitalcookbook
java javafx mvc mysql
Last synced: 11 days ago
JSON representation
A digital cookbook GUI
- Host: GitHub
- URL: https://github.com/spycsh/digitalcookbook
- Owner: Spycsh
- Created: 2019-05-09T11:14:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-19T19:03:02.000Z (over 5 years ago)
- Last Synced: 2024-12-05T03:25:41.451Z (2 months ago)
- Topics: java, javafx, mvc, mysql
- Language: Java
- Homepage:
- Size: 132 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PixivCookbook
A cookbook GUI
## Author
---
[Chen Sihan](https://github.com/Spycsh/), [Shen Yu](https://github.com/tokisamu), [Ling Wei](https://github.com/pyonkti)## Structure
---
> This structure is the source folder structure of this project```
+--PixivCookbook
| +--Controller
| | +--DBController.java
| | +--EditForbiddenPairController.java
| | +--WindowController.java
| +--CookBookApp.java
| +--Default.java
| +--Model
| | +--CookBook.java
| | +--ForbiddenPair.java
| | +--Ingredient.java
| | +--Recipe.java
| | +--Step.java
| +--test
| | +--JunitDBController.java
| | +--JunitRecipe.java
| +--View
| | +--ForbiddenEditWindow.java
| | +--MainWindow.java
| | +--RecipeWindow.java
| | +--source
+-- More...
```## Initialized
---
First you must make sure that you has entered the right username and password in DBController.java
```java
this.connect = DriverManager.getConnection("jdbc:mysql://localhost:3306/CookBook?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true",
"root", ""); // your username and password
```Then you can run CookBookApp.java or Default.java to initialize the default values in database for our digital cookbook.
## Start the Cookbook
---
Run the WindowController.java to lauch your digital cook book## Functions Introduction
---
### Main Window
![1](README_Image/1.png)
* Add a recipe
By clicking the "add recipe" picture can you add your own recipe.
* Edit a recipe
By clicking the recipe picture can you edit that recipe.
* Search a recipe
Searching the recipe by entering some content in the blank and click the search button.
* Recommend 7 recipes
By clicking the flush button, the main window will give 7 random recipes from the database. If you do not have more than 7 recipes, the main window will displays all.
* Edit forbidden pairs
By clicking the "Sticky Note", you can edit some ingredients that may not be added simultaneously in one recipe. That may cause some warning during your use of the cookbook.
### Recipe Window
![2](README_Image/2.png)
Display![3](README_Image/3.png)
Edit (1)
![4](README_Image/4.png)
Edit (2)### Forbidden Pair Window
![6](README_Image/6.png)
Display![5](README_Image/5.png)
Edit