Split db::Connection implementation in submodules (db::user and db::recipe).
authorGreg Burri <greg.burri@gmail.com>
Wed, 18 Dec 2024 22:10:19 +0000 (23:10 +0100)
committerGreg Burri <greg.burri@gmail.com>
Wed, 18 Dec 2024 22:10:19 +0000 (23:10 +0100)
commitfce4eade7319c0cf2d0975ecf47536f4ee4d6f36
treeba952dcb7b162dd4af4f7f27030accaf7c07b60f
parent4248d11aa90f4c3118505a0d4ed6a6efa966b8a5
Split db::Connection implementation in submodules (db::user and db::recipe).
18 files changed:
Cargo.lock
backend/sql/data_test.sql
backend/sql/version_1.sql
backend/src/data/db.rs
backend/src/data/db/recipe.rs [new file with mode: 0644]
backend/src/data/db/user.rs [new file with mode: 0644]
backend/src/data/mod.rs
backend/src/data/model.rs [new file with mode: 0644]
backend/src/data/utils.rs
backend/src/html_templates.rs
backend/src/main.rs
backend/src/model.rs [deleted file]
backend/src/services.rs
backend/templates/base_with_list.html
backend/templates/recipe_edit.html
backend/templates/recipe_view.html [new file with mode: 0644]
backend/templates/sign_up_form.html
backend/templates/view_recipe.html [deleted file]