Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Refactoring code to follow MVVM #4

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

warmachinesocial
Copy link

At this stage making a draft pr, and learning on refactoring out the code.

…for running and testing out

At this stage, we can now begin to add env variable for dev and prod environment.
… the issue of dismiss view due to conflicts of keywords
However other changes of network monitor still left to do, at this stage just called them to make it work and build the project
@warmachinesocial warmachinesocial changed the title Refactoring code Refactoring code to follow MVVM Apr 6, 2024
Currently the code was not following MVVM and yet other changes left.
Refactored ContentView as the root (Welcome Screen), plus added signupview UI and left with loginView. AuthViewModel logic left yet to code but saving the progress
Removed the welcome screen part
At this stage, added the logic to call the rest endpoints for register, preLogin and oauth and save the key into keychain. However, left with saving the credentials into db using swiftData
At this stage we could you use to login via local authentication into the app, though a small issue is left on how to store the credentials. The functionality is working...
Also added macos support however still need to fix the UI for it but starting small steps
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant