add backend tpl

This commit is contained in:
Rogee
2024-11-28 23:18:11 +08:00
parent 77e962b668
commit f7d95418a2
86 changed files with 3229 additions and 135 deletions

23
backend/config.toml Executable file
View File

@@ -0,0 +1,23 @@
[Http]
Port = 9800
[App]
Mode = "development"
[SQLite]
File = "sqlite.db"
[MySQL]
Host = "localhost"
Port = 3306
Database = "test"
Username = "root"
Password = "admin"
[Swagger]
BaseRoute = "doc"
Title = "Api"
Description = "Api Docs"
BasePath= "/v1"
Version = "1.0.0"