diff options
author | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2025-01-19 14:17:25 +0100 |
---|---|---|
committer | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2025-01-19 14:17:25 +0100 |
commit | 073149464269b5fcc90e282536c1a946ad474085 (patch) | |
tree | a497ad92280f4e00cfbea909fa3a2de3bc8554f4 /README.md | |
parent | 5e875ca22341821a9897092b7b9e656a7405ef32 (diff) |
add docs + song api routes
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..164f0b3 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# Balalaika +School project of a lyrics game site. + +## Setup database +To manage the database through the program's scripts use +`cargo run-script` + +You can install the app with `cargo install cargo-run-script` + +Available scripts: +``` +db_create +db_populate +db_start +db_stop +``` + +The stop/start scripts assume you're using systemd. +If not, just start/stop the mariadb service manually. + +## Changes +### Single parameters ONLY +You can only search a parameter at a time. +This is because Rust needs to process the sql queries ahead of time +in order to make them safe to injection attacks. + +### SearchResults changed its name +Since searchResults was highly unintuitive, +it has been renamed to just "name". |