summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-19 14:17:25 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-19 14:17:25 +0100
commit073149464269b5fcc90e282536c1a946ad474085 (patch)
treea497ad92280f4e00cfbea909fa3a2de3bc8554f4 /README.md
parent5e875ca22341821a9897092b7b9e656a7405ef32 (diff)
add docs + song api routes
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
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".