refactor: restructure project
This commit is contained in:
parent
699f8733e2
commit
89ea0995bb
9 changed files with 57 additions and 44 deletions
12
src/routes/subscriptions.rs
Normal file
12
src/routes/subscriptions.rs
Normal 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 {}))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue