No description
Find a file
Natalia Cholewa 5a0503de10 Merge branch 'refactor/server-utils' into 'main'
Make ServerUtils use server address from config, refactor endpoint generation

See merge request cse1105/2025-2026/teams/csep-team-76!67
2026-01-18 16:37:40 +01:00
.mvn/wrapper Initial commit 2025-11-13 22:26:09 +01:00
client fix: pipeline 2026-01-18 16:32:01 +01:00
commons Made Delete msg take Recipe instead of id and made alert for recipe mourning. 2026-01-16 19:13:35 +01:00
docs docs: minutes for week 08 2026-01-16 23:40:00 +01:00
server Fixed usages of delete. 2026-01-16 19:12:33 +01:00
.gitignore chore(gitignore): add trace.db and config.json to ignore-list 2026-01-09 15:11:58 +01:00
.gitlab-ci.yml Initial commit 2025-11-13 22:26:09 +01:00
checkstyle.xml feat: new rule to check javadoc comments 2025-12-07 21:17:33 +01:00
code-of-conduct.md docs: code of conduct v2 2025-11-27 22:55:07 +01:00
countlines.bat added personal line counting util 2025-11-27 16:08:36 +01:00
countlines.sh added personal line counting util 2025-11-27 16:08:36 +01:00
LICENSE.txt Initial commit 2025-11-13 22:26:09 +01:00
mvnw Initial commit 2025-11-13 22:26:09 +01:00
mvnw.cmd Initial commit 2025-11-13 22:26:09 +01:00
pom.xml Initial commit 2025-11-13 22:26:09 +01:00
README.md docs(readme): add config options & usage 2026-01-11 20:56:29 +01:00
suppressions.xml fix: MagicNumber check disabled in tests 2025-12-07 21:17:02 +01:00

CSEP FoodPal Application (Team 76)

Usage

The project uses Java 25. Make sure you have the correct Java version installed.

Client

The client needs to be launched after a server is already running, see Usage.Server section:

mvn -pl client -am javafx:run

Server

By default, the server listens to the port 8080.
[TODO(1)]:: Configurable port.

mvn -pl server -am spring-boot:run

Features

  • Recipe tracking in an intuitive GUI.
  • Ability to input arbitrary amounts of an ingredient in a recipe. The design is very human. See Manual.Ingredients for more usage details.
  • Native localization in more than 2, and less than 4 languages.
  • Configurable via JSON, See Manual.Configuration.

Manual

Configuration

The configuration is with JSON, read from config.json in the working directory. We illustrate an example configuration below.

{
    "language": "en",
    "serverUrl": "http://localhost:8080",
    "favourites": [
        1,
    ],
    "shoppingList": [
        "Ingredient A",
    ],
}

Options

  • language: string
    • One of [en, nl, pl] (as of Jan 11 2026)
  • serverUrl: string
    • The host that the FoodPal server runs on, see configuration example.
  • favourites: [number]
    • The list of recipe IDs that the user has marked as favourite.
  • shoppingList: [string]
    • The list of ingredients that the user has in their shopping list.

Ingredients

  • To input a formal ingredient, you write the numeric amount in the first input box, then the Unit in the selection dropdown, and then write the name of the ingredient, e.g. salt, apples, etc. should it be not visible already on the platform.
  • To input an informal ingredient, describe the amount in the first input box, like "some of", or "a sprinkle of", then select "" in the unit selection box, and write the name of your ingredient or pick from one of the availables from the dropdown.