feat: configure environment variables, CORS, and PostgreSQL database settings for backend-frontend integration

This commit is contained in:
Your Name
2026-04-09 12:39:42 +05:30
parent 17b8356eac
commit 4bdb1ee80d
2 changed files with 20 additions and 4 deletions
+2
View File
@@ -9,6 +9,7 @@ DB_PORT=5432
DEBUG=True
SECRET_KEY=django-secret-key
ALLOWED_HOSTS=localhost,127.0.0.1
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
# EMAIL
EMAIL_HOST=localhost
@@ -16,3 +17,4 @@ EMAIL_PORT=1025
# FRONTEND
VITE_API_URL=http://localhost:8000
FRONTEND_PORT=5173