Added the scaffolding

This commit is contained in:
Connor Johnstone
2026-03-17 13:55:42 -04:00
parent cf95c520a0
commit fb05e2d5c0
39 changed files with 944 additions and 0 deletions

21
shanty-web/Cargo.toml Normal file
View File

@@ -0,0 +1,21 @@
[package]
name = "shanty-web"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Web interface backend for Shanty"
[dependencies]
shanty-db = { path = "../shanty-db" }
shanty-index = { path = "../shanty-index" }
shanty-tag = { path = "../shanty-tag" }
shanty-org = { path = "../shanty-org" }
shanty-watch = { path = "../shanty-watch" }
shanty-dl = { path = "../shanty-dl" }
shanty-search = { path = "../shanty-search" }
clap = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true }

5
shanty-web/src/lib.rs Normal file
View File

@@ -0,0 +1,5 @@
//! Web interface backend for Shanty.
//!
//! An Actix-web server that ties all Shanty components together, exposing a REST
//! API consumed by the Elm frontend. Handles background tasks, configuration,
//! and orchestration of indexing, tagging, downloading, and more.

3
shanty-web/src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("shanty-web: web interface backend");
}