Closed internetmosquito closed 7 years ago
Please check the doc regarding the new endpoint we've created for dealing with login.
https://wizbots.com/api/token/get - Not in production yet
There is info in the doc on how to use this endpoint and obtain the token.
Logic to send login request (token based) to Wizbots and obtain response (mostly all data related with mentor, the labs and students for each lab), taking into account the offline first approach - what happens if not logged in and there is no connectivity and there is no previous logged mentor? I guess we should let the user open the application but with very limited functionality...maybe only video list and video recording?
So once we log with valid credentials we should:
1.- Gather all info regarding mentor profile 2.- Gather all info related labs this mentor is responsible of 3.- Gather all the information regarding students enrolled on each lab
If we're already logged in, then we should try to update this info whenever we detect internet connectivity