refactor: restructure project

This commit is contained in:
Sandro Eiler 2023-12-30 22:21:57 +01:00
parent 699f8733e2
commit 89ea0995bb
9 changed files with 57 additions and 44 deletions

View file

@ -0,0 +1,12 @@
use axum::routing::get;
use axum::Router;
use serde::Deserialize;
#[derive(Deserialize)]
struct FormData {
email: String,
name: String,
}
pub fn routes_subscriptions() -> Router {
Router::new().route("/subscriptions", get(|| async {}))
}