pub mod server_config;
mod v1;
use axum::Router;
use crate::app::AppState;
pub use server_config::{
AuthConfig, ConfigError, CorsConfig, JwtConfigSerde, KmsConfigFile, LoggingConfig,
RateLimitConfigFile, RustbergConfig, ServerConfig, StorageConfig, TlsConfigFile,
};
pub fn create_routes(app_state: AppState) -> Router {
let v1_routes = v1::create_routes(app_state.clone());
Router::new().nest("/v1", v1_routes)
}