Add asynchronous call to database.
See file 'asynchronous.ts'.
This commit is contained in:
parent
8a3fef096d
commit
d28e765e39
20 changed files with 1323 additions and 1049 deletions
6
TODO.md
6
TODO.md
|
|
@ -1,10 +1,14 @@
|
|||
* Asynchonous email sending and database requests
|
||||
* Try using WASM for all the client logic (test on signup page)
|
||||
* Describe the use cases.
|
||||
* Define the UI (mockups).
|
||||
* Two CSS: one for desktop and one for mobile
|
||||
* Define the logic behind each page and action.
|
||||
|
||||
[ok] Check cookie lifetime -> Session by default
|
||||
[ok] Asynchonous email sending and database requests
|
||||
[ok] Try to return Result for async routes (and watch what is printed in log)
|
||||
[ok] Then try to make async database calls
|
||||
[ok] Set email sending as async and show a waiter when sending email. Handle (and test) a timeout (~10s). -> (timeout put to 60s)
|
||||
[ok] How to log error to journalctl?
|
||||
[ok] Sign out
|
||||
[ok] Read all the askama doc and see if the current approach is good
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue