NakVaksin helps to monitor your vaccination appointment and keep you updated whenever there is any update. You can even let your family members or co-workers to know about it too
The current behaviour is that their token is store in their browser's cookie just for 3 days (this is a limitation because MySejahtera's token has a lifespan of 3 days). Afterwards, they have to sign in again. Which may not be a good user experience.
Proposal:
Keep a history of user MySejahtera's token
If a return user visit our site after 3 days, it will pass us an expired token.
We will refer the expired token with our DB (from step 1), and give user's back a fresh token.
The API endpoints listed (login, profile, vaccine, and forgot password) are great. Any chance you have worked out some additional locations for curl? For example: