add: User\ViewModel
aaryankotharii opened this issue · comments
Aaryan Kothari commented
TODO AFTER #28
- [] create viewModel for profile
- [] add variable of dataType user ( to be created in #28 )
- [] add route for fetching user data in router
- [] call that route in a function
fetchUser
in UserViewModel. - [] call that function in ProfileView
didAppear
method. - [] make sure data is correctly fetched from backend, decoded in app and displayed to the user.