feat: auth

This commit is contained in:
2026-09-28 02:02:05 +04:00
parent d87f11edcd
commit afa993d76c
11 changed files with 250 additions and 17 deletions
+11 -7
View File
@@ -1,17 +1,21 @@
{
"Bot": {
"Token": "YOUR_BOT_TOKEN_HERE",
"WebhookHost": "https://your-domain.com"
"Telegram": {
"BotToken": ""
},
"Jwt": {
"SecretKey": "",
"Issuer": "memevault-api",
"Audience": "memevault-miniapp",
"ExpiryHours": 24
},
"ConnectionStrings": {
"Postgres": "Host=db;Port=5432;Database=memevault;Username=memevault;Password=changeme"
"Postgres": "Host=localhost;Database=memevault;Username=memevault;Password=changeme",
"Redis": "localhost:6379"
},
"Redis": "redis:6379",
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore.Database.Command": "Warning"
"Microsoft.AspNetCore": "Warning"
}
}
}