اولین نسخه بک‌اند آرامش پلازا

This commit is contained in:
Behrad
2026-08-27 15:15:12 +03:30
commit 854309f976
26 changed files with 1861 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# ==========================================
# آدرس اتصال به دیتابیس PostgreSQL
# فرمت: postgresql://USERNAME:PASSWORD@HOST:PORT/DBNAME
# ==========================================
DATABASE_URL=postgresql://aramesh_user:aramesh_pass@localhost:5432/aramesh_db
# ==========================================
# کلید مخفی برای امضای توکن‌های JWT
# حتماً یک رشته‌ی رندوم و طولانی بذار (برای پروداکشن)
# با این دستور می‌تونی یکی بسازی: openssl rand -hex 32
# ==========================================
SECRET_KEY=change-this-to-a-long-random-secret-string
# مدت اعتبار توکن ورود ادمین (به دقیقه)
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# آدرس(های) فرانت‌اند که اجازه دارن به این بک‌اند وصل بشن (با کاما جدا کن)
CORS_ORIGINS=http://localhost:5173,https://aramesh-six.vercel.app