Initial commit with Claude created service skeleton

This commit is contained in:
Alex Selimov 2026-03-17 09:38:52 -04:00
commit 09e538872d
13 changed files with 848 additions and 0 deletions

17
src/main.rs Normal file
View file

@ -0,0 +1,17 @@
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
#[tokio::main]
async fn main() {
tracing_subscriber::registry()
.with(
tracing_subscriber::EnvFilter::try_from_default_env().unwrap_or_else(|_| {
format!("{}=debug,tower_http=debug", env!("CARGO_PKG_NAME")).into()
}),
)
.with(tracing_subscriber::fmt::layer())
.init();
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
tracing::info!("listening on {}", listener.local_addr().unwrap());
axum::serve(listener, uprs::app()).await.unwrap();
}