add: user settings
fix: actually use cached stuff in auto_method macro add: profile ui base
This commit is contained in:
parent
8580e34be2
commit
7d96a3d20f
16 changed files with 222 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
|||
pub mod auth;
|
||||
pub mod misc;
|
||||
pub mod profile;
|
||||
|
||||
use axum::{Router, routing::get};
|
||||
|
||||
|
@ -10,4 +11,6 @@ pub fn routes() -> Router {
|
|||
// auth
|
||||
.route("/auth/register", get(auth::register_request))
|
||||
.route("/auth/login", get(auth::login_request))
|
||||
// profile
|
||||
.route("/user/{username}", get(profile::posts_request))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue