Menu selection at 5CM Coffee and Eatery is still carried out manually by the barista, so signature drink suggestions vary between staff and become inconsistent during busy hours, especially as the growing menu variety leads to customer choice overload. This study implements a website-based coffee recommendation system using the K-Nearest Neighbor (KNN) algorithm to address this problem. Nine beverage attributes—sweetness, bitterness, acidity, body, aroma, milk content, serving temperature, coffee type, and caffeine level—rated by the barista serve as training data, while customer preferences entered through the website serve as testing data; both are normalized with MinMaxScaler and compared using Euclidean Distance at k = 3. The system was evaluated through White Box Testing, Black Box Testing, and a User Acceptance Test. White Box Testing on three core modules produced Cyclomatic Complexity values of 3, 5, and 6 with all logical paths verified, Black Box Testing on 24 scenarios ran without error, and the UAT of 301 respondents recorded an overall acceptance score of 77.97%, categorized as Good. These results show that the implemented KNN algorithm produces relevant, personalized, and well-accepted signature drink recommendations, offering a more consistent alternative to manual recommendations at 5CM Coffee and Eatery.
Copyrights © 2026