Add deployment docs and fix dotenv loading

- Add deploy/server-info.md with full server access, DB, SSL, nginx info
- Add dotenv dependency for .env file loading on server
- Server running at https://marketplace.173.212.212.157.sslip.io

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
delta-lynx-89e8
2026-02-22 07:18:52 -08:00
parent b37b734c82
commit 9f399291ee
3 changed files with 93 additions and 1 deletions

View File

@@ -25,7 +25,8 @@
"stripe": "^17.5.0",
"helmet": "^8.0.0",
"express-rate-limit": "^7.5.0",
"cookie-parser": "^1.4.7"
"cookie-parser": "^1.4.7",
"dotenv": "^16.4.0"
},
"devDependencies": {
"@types/express": "^4.17.21",

View File

@@ -1,3 +1,5 @@
import 'dotenv/config';
export const env = {
PORT: parseInt(process.env['PORT'] || '3000', 10),
DATABASE_URL: process.env['DATABASE_URL'] || 'postgresql://marketplace:marketplace_dev@localhost:5432/marketplace',