zipity 0.0.1-alpha.2

A markdown-based micro web framework built in Rust
1
2
3
4
5
6
7
// Example: http://localhost:8080/api/posts

use actix_web::{ web, HttpResponse, Responder };

pub async fn posts() -> impl Responder {
    HttpResponse::Ok().body("This is the posts API endpoint")
}