add: postgres support

chore: restructure
This commit is contained in:
trisua 2025-03-22 22:17:47 -04:00
parent cda879f6df
commit b6fe2fba37
58 changed files with 3403 additions and 603 deletions

View file

@ -0,0 +1,13 @@
pub mod auth;
pub mod misc;
use axum::{Router, routing::get};
pub fn routes() -> Router {
Router::new()
// misc
.route("/", get(misc::index_request))
// auth
.route("/auth/register", get(auth::register_request))
.route("/auth/login", get(auth::login_request))
}