[refactor] removed unused api.rs module to streamline code structure

This commit is contained in:
2025-08-20 08:28:22 +02:00
parent af304266a4
commit 7c6724800f
13 changed files with 823 additions and 64 deletions

View File

@@ -0,0 +1,19 @@
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
// Basic tracing setup (adjust as needed)
tracing_subscriber::registry()
.with(
tracing_subscriber::EnvFilter::try_from_default_env()
.unwrap_or_else(|_| "info".into()),
)
.with(tracing_subscriber::fmt::layer())
.init();
// TODO: invoke your API server bootstrap here.
// For example, if you have a function like `owly-news-api::run_server().await`
// call it here. This is just a placeholder:
tracing::info!("owly-news app starting...");
Ok(())
}