Commit graph

13 commits

Author SHA1 Message Date
Simon Bruder b22588cd0d
Move app creation to lib.rs
All checks were successful
/ build (push) Successful in 1m55s
This makes integration testing much easier as it can reuse the app
instance.
2024-07-27 22:15:58 +02:00
Simon Bruder f33f3c8b9c
Move database operations to separate module
This can be seen as partially reverting
e83bc8316e, which moved everything to the
place where it was used.
2024-07-25 23:22:56 +02:00
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