Commit graph

11 commits

Author SHA1 Message Date
Simon Bruder 1e5f7930ab
Use clap for configuration 2024-07-24 16:44:29 +02:00
Simon Bruder c8bc885919
Remove API
I didn’t really use it apart from very early testing and I don’t
anticipate it getting much use. It might be reintroduced in the future.
2024-07-20 23:09:22 +02:00
Simon Bruder 07a9a6f9f2
Use rust-embed for serving static files 2024-07-19 00:06:24 +02:00
Simon Bruder bd9a531dad
Configure API using proper function 2024-07-19 00:06:20 +02:00
Simon Bruder 3a222986c1
Add authentication 2024-07-19 00:06:11 +02:00
Simon Bruder d4b2ecfcea
Set default log level to info 2024-07-19 00:06:10 +02:00
Simon Bruder 00d7647187
Switch to sqlx
While diesel has a native rust interface, writing more complex queries
is easier when you can just pass a SQL query string.
2024-07-19 00:05:26 +02:00
Simon Bruder 21c99a1677
Use diesel-async
This simplifies running queries, as it avoids having to use web::block
for everything.
2024-07-11 01:16:39 +02:00
Simon Bruder ac70a4c119
Add frontend prototype 2024-07-11 01:16:27 +02:00
Simon Bruder 83eaf1a5f5
Add static file serving 2024-07-11 01:16:04 +02:00
Simon Bruder f4ba4e9733
Init 2024-07-11 01:16:00 +02:00