Remove generated file 'frontend.js'
[recipes.git] / TODO.md
1 * Try using WASM for all the client logic (test on editing/creating a recipe)
2     * Understand the example here:
3         * https://github.com/rustwasm/wasm-bindgen/tree/main/examples/todomvc -> https://rustwasm.github.io/wasm-bindgen/exbuild/todomvc/#/
4 * Describe the use cases.
5 * Define the UI (mockups).
6     * Two CSS: one for desktop and one for mobile
7 * Define the logic behind each page and action.
8 * Add support to language into db model.
9
10 [ok] Change all id to i64
11 [ok] Check cookie lifetime -> Session by default
12 [ok] Asynchonous email sending and database requests
13     [ok] Try to return Result for async routes (and watch what is printed in log)
14     [ok] Then try to make async database calls
15     [ok] Set email sending as async and show a waiter when sending email. Handle (and test) a timeout (~10s). -> (timeout put to 60s)
16 [ok] How to log error to journalctl?
17 [ok] Sign out
18 [ok] Read all the askama doc and see if the current approach is good
19 [ok] Handle 404
20 [ok] Enable Logging to file.
21 [ok] Implement the model as relational with SQLite.
22     [ok] Create and update functions.