- Created UserProfile class which includes all data to display on profile
Closes #25 (closed)
Update 04/05/24:
- Created UserProfile class which includes id, username, favorites list and review list
- Removed favorites and review list from class user
- Profiles are automatically created by User constructor when a new user gets created
- User endpoints won't return the whole user data anymore just the profile
- Class User got an instance of UserProfile. Access to favorites and written reviews over this instance.
Check endpoints with http://localhost:8080/swagger-ui/index.html