-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: sync plans between devices (#103)
* feat: logout function & middleware with API & new function to check auth status * fix: format * feat: honestly idk, too many things * feat: integration with offline * feat: continue with sync (save progress) * feat: save progress * feat: new env var with api url * feat: save progress * feat: save progress * feat: save progress * fix: lint & code fix & delete crypto from runtime edge * fix: almost done i think * fix: better logout * fix: minor fixes in backend and frontend backend: simple array front: - logout req - React.useState -> useState - better error response in plans functions * fix: error handlingn fix * feat: rewrite auth() function * fix: better comments * fix: middleware fixes wiem bartus ze ci sie pewnie nie spodoba i chcialbys po prostu zrobic caly middleware w try catch i sama funkcja auth() jak w poprzednich tylko problem jest taki ze musze tak czy siak wykonac auth() zeby se uswierzytelnic za kazdym razem usera czy ma sesje a po tym doperio wykonac reszte logiki taka jak next jesli nie jest protected, wiec musialem tak zrobic
- Loading branch information
Showing
30 changed files
with
1,519 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.