feat: add router

This commit is contained in:
2025-06-21 16:15:50 +03:00
parent 3e190e3cca
commit 85765bb3b0
7 changed files with 64 additions and 47 deletions

9
config/base.toml Normal file
View File

@@ -0,0 +1,9 @@
[application]
port = 8000
[database]
host = "127.0.0.1"
port = 5432
username = "postgres"
password = "password"
database_name = "kristofersxyz"

5
config/local.toml Normal file
View File

@@ -0,0 +1,5 @@
[application]
host = "127.0.0.1"
[database]
require_ssl = false

5
config/productionn.toml Normal file
View File

@@ -0,0 +1,5 @@
[application]
host = "0.0.0.0"
[database]
require_ssl = true