my-app 0.1.0

A web application providing user management and authentication
Documentation
1
2
3
4
5
6
7
8
9
use actix_web::web;
use crate::account::handlers;

pub fn init_routes(cfg: &mut web::ServiceConfig) {
    cfg.service(
        web::resource("/login")
            .route(web::post().to(handlers::login))
    );
}