Commit graph

6 commits

Author SHA1 Message Date
7ded3ef430 Creation of a reminder via web api
Concurrently run the reminder service as well as an web endpoint to
create a new reminder. Note that a new reminder does not notify the
reminder service yet.

Cargo update dependencies
2023-02-02 06:53:34 +01:00
6b6f5aa48a Spawn an axum server
Concurrently spawn an axum server, which is not doing much yet, in
order to prepare for the creation, etc. of reminders.
2023-02-02 06:53:21 +01:00
0434505b2d Use standard paths for a possible config location
Check several possible standard paths when there is no path to the
configuration file given as argument. To find the configuration file
following paths are used. The local directory `./config.toml`, the
user global configuration directory
`$XDG_CONFIG_HOME/whakarite/config.toml` and the system wide
configuration directory `/etc/whakarite/config.toml`. Note that in the
later two cases the directory which contains the `config.toml`
receives its name from the `$CARGO_BIN_NAME` environment variable at
compile time.
2023-01-25 22:11:32 +01:00
21396daf83 Parse command-line-arguments
Use command-line-arguments to set the config file path and the log
level.
2023-01-24 01:20:42 +01:00
d37f31dd8a Add config file parsing
Use the `serde` and `toml` crates to handle config file parsing.
2023-01-24 01:19:20 +01:00
665015c296 Basic minimal prototype
Use a postgres database as storage and start with sone basic
functionality.
2023-01-24 00:38:50 +01:00