DEV Community

Cover image for πŸ¦€ Axum - Hello World !

Posted on

πŸ¦€ Axum - Hello World !

Axum is a web application framework that focuses on ergonomics and modularity.

This yellowcoder-tibbit tells you about a simple Axum - β€œHello World!” examples you can get quickly started with by following steps given in repo.

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

async fn main() {

    let app = Router::new().route("/",get(||async {
            <h1>Hello World</h1>
            <h2>Here Rust Server is running....</h2>
            Author: <strong>Yellow Coder</strong>


    let listener = tokio::net::TcpListener::bind("").await.unwrap();


Enter fullscreen mode Exit fullscreen mode

GitRepo :

Top comments (0)