This commit is contained in:
2026-03-20 21:41:00 +08:00
commit 3d1d4cf506
53 changed files with 7105 additions and 0 deletions

22
config/config.yaml Normal file
View File

@@ -0,0 +1,22 @@
server:
port: 8080
mode: debug # debug, release, test
database:
host: localhost
port: 3306
user: root
password: root
dbname: exam_registration
charset: utf8mb4
max_idle_conns: 10
max_open_conns: 100
conn_max_lifetime: 3600
jwt:
secret: exam_registration_secret_key_2024
expire: 86400 # 24 hours in seconds
upload:
path: uploads
max_size: 10485760 # 10MB