Commit graph

5 commits

Author SHA1 Message Date
Ivan R. 02ef29bdea
Add font awesome integration (#39) 2023-09-03 19:08:33 +05:00
Ivan R. de76c90f3c
Rename 'backend' module to 'database' 2023-07-22 15:24:01 +05:00
Ivan R. 2c08171c7a
Start using JWT tokens
I thought this was a good idea.
Pros: fewer database calls.
Cons: there is no way to revoke the token (except for changing the secret key).

I rewrote the authorization as a middleware. Request handlers no longer need to validate the user.
2023-07-22 13:42:43 +05:00
Ivan R. 81b7e6f896
Move code for working with db into functions that process requests 2023-07-21 09:48:57 +05:00
Ivan R. bf4c52e68b
Move pages into separate modules 2023-04-09 11:22:48 +05:00