For Frontend practice

This commit is contained in:
magdo
2026-03-21 20:39:18 +01:00
parent 8b8c08be1b
commit ad1e783472
68 changed files with 3817 additions and 0 deletions
@@ -0,0 +1,19 @@
# Copy and edit values for your production/student environment.
# API
PORT=3000
NODE_ENV=production
DATABASE_URL=postgresql://webstore_user:webstore_password@db:5432/webstore_db?schema=public
JWT_SECRET=change-me-in-real-use
JWT_EXPIRES_IN=7d
COOKIE_NAME=webstore_token
COOKIE_SECURE=false
# Database container bootstrap
POSTGRES_DB=webstore_db
POSTGRES_USER=webstore_user
POSTGRES_PASSWORD=webstore_password
# Optional: host port overrides
API_PORT=3000
DB_PORT=5432