Added config file for db #9

Merged
phoenix merged 32 commits from db into devel 2025-04-03 13:59:56 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 470ee220c8 - Show all commits

View File

@@ -1,4 +1,4 @@
use axum::{Json, extract::Extension, http::StatusCode};
use axum::{Extension, Json, http::StatusCode};
use serde::{Deserialize, Serialize};

View File

@@ -18,13 +18,13 @@ async fn main() {
// build our application with a route
let app = Router::new()
.layer(axum::Extension(pool))
.route(callers::endpoints::DBTEST, get(callers::common::db_ping))
.route(callers::endpoints::ROOT, get(callers::common::root))
.route(
callers::endpoints::REGISTER,
post(callers::register::register_user),
);
)
.layer(axum::Extension(pool));
// run our app with hyper, listening globally on port 3000
let url = config::get_full();