running so far

This commit is contained in:
2022-12-27 18:17:24 +01:00
parent 31b47e892d
commit 8b121c9e6e
16 changed files with 134 additions and 18 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
use super::content_loader::{add_component, read_file};
use super::content_loader::read_file;
use actix_web::HttpResponse;
pub async fn reader() -> HttpResponse {
+4
View File
@@ -2,6 +2,10 @@ use super::path::Path;
use actix_web::web;
mod create;
/// curl --header "Content-Type: application/json" \
/// --data '{"name":"Mike","email": "email@local.local", "password":"secret"}' \
/// http://localhost:8001/api/v1/user/create -v
///
pub fn user_factory(app: &mut web::ServiceConfig) {
let base_path: Path = Path {
prefix: String::from("/user"),