use axum::{routing::get, Router};

use crate::AppState;

pub fn router() -> Router<AppState> {
    Router::new().route("/hello", get(hello_phonemes))
}

async fn hello_phonemes() -> &'static str {
    "Hello, phoneme!"
}