swent-group10 / polyfit

0 stars 1 forks source link

Feature/backend/rec recipe #320

Closed RandomUsername1315 closed 3 months ago

RandomUsername1315 commented 3 months ago

Pull Request Overview

This PR adds the backend functionality for the recipe recommendation. It includes all new API calls necessary and the deserialization of the JSON.

Main Changes

Video of the New Implementation

Just for reference what you see in the video made 12 API calls :

https://github.com/swent-group10/polyfit/assets/100274930/cd1d6dbc-7074-4f8c-9455-e0ba057c48ea

Future PR

Note for Reviewers

Note

RandomUsername1315 commented 3 months ago

@medwardson The best way to test the functionality is to set the start navigation in MainActivity from this:

        val startDestination = if (authentication.isAuthenticated()) Route.Home else Route.Register

to this :

        val startDestination = if (authentication.isAuthenticated()) Route.RecipeRecFlow else Route.RecipeRecFlow
sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
5 New issues
0 Accepted issues

Measures
0 Security Hotspots
67.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud