← back to Designer Line
scaffold designerline v0.1 — landing + commerce + advocacy + community on port 9780
c1bf6706e48ba7e6985ee4d1e80e0b2263d148ad · 2026-05-11 17:59:07 -0700 · Steve Abrams
Files touched
A .gitignoreA package-lock.jsonA package.jsonA public/advocacy.htmlA public/commerce.htmlA public/community.htmlA public/index.htmlA server.js
Diff
commit c1bf6706e48ba7e6985ee4d1e80e0b2263d148ad
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon May 11 17:59:07 2026 -0700
scaffold designerline v0.1 — landing + commerce + advocacy + community on port 9780
---
.gitignore | 9 +
package-lock.json | 974 ++++++++++++++++++++++++++++++++++++++++++++++++++
package.json | 13 +
public/advocacy.html | 83 +++++
public/commerce.html | 138 +++++++
public/community.html | 63 ++++
public/index.html | 160 +++++++++
server.js | 75 ++++
8 files changed, 1515 insertions(+)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4a0b3ea
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+node_modules/
+.env
+.env.*
+tmp/
+*.log
+.DS_Store
+dist/
+build/
+.next/
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000..5fba489
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,974 @@
+{
+ "name": "designer-line",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "designer-line",
+ "version": "0.1.0",
+ "dependencies": {
+ "express": "^4.21.0",
+ "pg": "^8.13.0"
+ }
+ },
+ "node_modules/accepts": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-types": "~2.1.34",
+ "negotiator": "0.6.3"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/array-flatten": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
+ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
+ "license": "MIT"
+ },
+ "node_modules/body-parser": {
+ "version": "1.20.5",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.5.tgz",
+ "integrity": "sha512-3grm+/2tUOvu2cjJkvsIxrv/wVpfXQW4PsQHYm7yk4vfpu7Ekl6nEsYBoJUL6qDwZUx8wUhQ8tR2qz+ad9c9OA==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "~3.1.2",
+ "content-type": "~1.0.5",
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "~1.2.0",
+ "http-errors": "~2.0.1",
+ "iconv-lite": "~0.4.24",
+ "on-finished": "~2.4.1",
+ "qs": "~6.15.1",
+ "raw-body": "~2.5.3",
+ "type-is": "~1.6.18",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
+ "node_modules/bytes": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/call-bound": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
+ "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "get-intrinsic": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/content-disposition": {
+ "version": "0.5.4",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/content-type": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cookie": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cookie-signature": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz",
+ "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==",
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/depd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/destroy": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
+ "node_modules/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
+ "license": "MIT"
+ },
+ "node_modules/encodeurl": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/es-define-property": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
+ "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
+ "license": "MIT"
+ },
+ "node_modules/etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/express": {
+ "version": "4.22.2",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.22.2.tgz",
+ "integrity": "sha512-IuL+Elrou2ZvCFHs18/CIzy2Nzvo25nZ1/D2eIZlz7c+QUayAcYoiM2BthCjs+EBHVpjYjcuLDAiCWgeIX3X1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "accepts": "~1.3.8",
+ "array-flatten": "1.1.1",
+ "body-parser": "~1.20.5",
+ "content-disposition": "~0.5.4",
+ "content-type": "~1.0.4",
+ "cookie": "~0.7.1",
+ "cookie-signature": "~1.0.6",
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "finalhandler": "~1.3.1",
+ "fresh": "~0.5.2",
+ "http-errors": "~2.0.0",
+ "merge-descriptors": "1.0.3",
+ "methods": "~1.1.2",
+ "on-finished": "~2.4.1",
+ "parseurl": "~1.3.3",
+ "path-to-regexp": "~0.1.12",
+ "proxy-addr": "~2.0.7",
+ "qs": "~6.15.1",
+ "range-parser": "~1.2.1",
+ "safe-buffer": "5.2.1",
+ "send": "~0.19.0",
+ "serve-static": "~1.16.2",
+ "setprototypeof": "1.2.0",
+ "statuses": "~2.0.1",
+ "type-is": "~1.6.18",
+ "utils-merge": "1.0.1",
+ "vary": "~1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/finalhandler": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz",
+ "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "2.6.9",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "on-finished": "~2.4.1",
+ "parseurl": "~1.3.3",
+ "statuses": "~2.0.2",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/forwarded": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "function-bind": "^1.1.2",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz",
+ "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==",
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/http-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
+ "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
+ "license": "MIT",
+ "dependencies": {
+ "depd": "~2.0.0",
+ "inherits": "~2.0.4",
+ "setprototypeof": "~1.2.0",
+ "statuses": "~2.0.2",
+ "toidentifier": "~1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "license": "ISC"
+ },
+ "node_modules/ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/math-intrinsics": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/merge-descriptors": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
+ "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/methods": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
+ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
+ "license": "MIT",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/negotiator": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.13.4",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
+ "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/on-finished": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+ "license": "MIT",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/path-to-regexp": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz",
+ "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==",
+ "license": "MIT"
+ },
+ "node_modules/pg": {
+ "version": "8.20.0",
+ "resolved": "https://registry.npmjs.org/pg/-/pg-8.20.0.tgz",
+ "integrity": "sha512-ldhMxz2r8fl/6QkXnBD3CR9/xg694oT6DZQ2s6c/RI28OjtSOpxnPrUCGOBJ46RCUxcWdx3p6kw/xnDHjKvaRA==",
+ "license": "MIT",
+ "dependencies": {
+ "pg-connection-string": "^2.12.0",
+ "pg-pool": "^3.13.0",
+ "pg-protocol": "^1.13.0",
+ "pg-types": "2.2.0",
+ "pgpass": "1.0.5"
+ },
+ "engines": {
+ "node": ">= 16.0.0"
+ },
+ "optionalDependencies": {
+ "pg-cloudflare": "^1.3.0"
+ },
+ "peerDependencies": {
+ "pg-native": ">=3.0.1"
+ },
+ "peerDependenciesMeta": {
+ "pg-native": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/pg-cloudflare": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.3.0.tgz",
+ "integrity": "sha512-6lswVVSztmHiRtD6I8hw4qP/nDm1EJbKMRhf3HCYaqud7frGysPv7FYJ5noZQdhQtN2xJnimfMtvQq21pdbzyQ==",
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/pg-connection-string": {
+ "version": "2.12.0",
+ "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.12.0.tgz",
+ "integrity": "sha512-U7qg+bpswf3Cs5xLzRqbXbQl85ng0mfSV/J0nnA31MCLgvEaAo7CIhmeyrmJpOr7o+zm0rXK+hNnT5l9RHkCkQ==",
+ "license": "MIT"
+ },
+ "node_modules/pg-int8": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz",
+ "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/pg-pool": {
+ "version": "3.13.0",
+ "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.13.0.tgz",
+ "integrity": "sha512-gB+R+Xud1gLFuRD/QgOIgGOBE2KCQPaPwkzBBGC9oG69pHTkhQeIuejVIk3/cnDyX39av2AxomQiyPT13WKHQA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "pg": ">=8.0"
+ }
+ },
+ "node_modules/pg-protocol": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.13.0.tgz",
+ "integrity": "sha512-zzdvXfS6v89r6v7OcFCHfHlyG/wvry1ALxZo4LqgUoy7W9xhBDMaqOuMiF3qEV45VqsN6rdlcehHrfDtlCPc8w==",
+ "license": "MIT"
+ },
+ "node_modules/pg-types": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz",
+ "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==",
+ "license": "MIT",
+ "dependencies": {
+ "pg-int8": "1.0.1",
+ "postgres-array": "~2.0.0",
+ "postgres-bytea": "~1.0.0",
+ "postgres-date": "~1.0.4",
+ "postgres-interval": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/pgpass": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz",
+ "integrity": "sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==",
+ "license": "MIT",
+ "dependencies": {
+ "split2": "^4.1.0"
+ }
+ },
+ "node_modules/postgres-array": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz",
+ "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postgres-bytea": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.1.tgz",
+ "integrity": "sha512-5+5HqXnsZPE65IJZSMkZtURARZelel2oXUEO8rH83VS/hxH5vv1uHquPg5wZs8yMAfdv971IU+kcPUczi7NVBQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/postgres-date": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz",
+ "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/postgres-interval": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz",
+ "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==",
+ "license": "MIT",
+ "dependencies": {
+ "xtend": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/proxy-addr": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
+ "license": "MIT",
+ "dependencies": {
+ "forwarded": "0.2.0",
+ "ipaddr.js": "1.9.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/qs": {
+ "version": "6.15.1",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.1.tgz",
+ "integrity": "sha512-6YHEFRL9mfgcAvql/XhwTvf5jKcOiiupt2FiJxHkiX1z4j7WL8J/jRHYLluORvc1XxB5rV20KoeK00gVJamspg==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/raw-body": {
+ "version": "2.5.3",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz",
+ "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "~3.1.2",
+ "http-errors": "~2.0.1",
+ "iconv-lite": "~0.4.24",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "license": "MIT"
+ },
+ "node_modules/send": {
+ "version": "0.19.2",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz",
+ "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "1.2.0",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "fresh": "~0.5.2",
+ "http-errors": "~2.0.1",
+ "mime": "1.6.0",
+ "ms": "2.1.3",
+ "on-finished": "~2.4.1",
+ "range-parser": "~1.2.1",
+ "statuses": "~2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/send/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
+ "node_modules/serve-static": {
+ "version": "1.16.3",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz",
+ "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==",
+ "license": "MIT",
+ "dependencies": {
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "parseurl": "~1.3.3",
+ "send": "~0.19.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+ "license": "ISC"
+ },
+ "node_modules/side-channel": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
+ "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.3",
+ "side-channel-list": "^1.0.0",
+ "side-channel-map": "^1.0.1",
+ "side-channel-weakmap": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-list": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",
+ "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-map": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
+ "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-weakmap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
+ "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3",
+ "side-channel-map": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/split2": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
+ "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==",
+ "license": "ISC",
+ "engines": {
+ "node": ">= 10.x"
+ }
+ },
+ "node_modules/statuses": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/toidentifier": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "license": "MIT",
+ "dependencies": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/utils-merge": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
+ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/xtend": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.4"
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..c647849
--- /dev/null
+++ b/package.json
@@ -0,0 +1,13 @@
+{
+ "name": "designer-line",
+ "version": "0.1.0",
+ "description": "DesignerLine — trade designer's everything-app. Commerce + Advocacy + Community for 60k DW trade-verified designers.",
+ "main": "server.js",
+ "scripts": {
+ "start": "node server.js"
+ },
+ "dependencies": {
+ "express": "^4.21.0",
+ "pg": "^8.13.0"
+ }
+}
diff --git a/public/advocacy.html b/public/advocacy.html
new file mode 100644
index 0000000..5da3409
--- /dev/null
+++ b/public/advocacy.html
@@ -0,0 +1,83 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width,initial-scale=1" />
+<title>advocacy · designerline</title>
+<style>
+ :root { --ink:#0e0e0c; --ink-mute:#6e6e68; --paper:#faf8f2; --line:#d9d4c5; --accent:#7a1b1b; }
+ * { box-sizing:border-box; }
+ body { margin:0; background:var(--paper); color:var(--ink); font-family: ui-serif, Georgia, serif; }
+ header {
+ display:flex; justify-content:space-between; align-items:center;
+ padding:20px 28px; border-bottom:1px solid var(--line);
+ }
+ header .mark { font-family:ui-sans-serif,system-ui,sans-serif; font-size:13px; letter-spacing:.22em; text-transform:uppercase; font-weight:600; }
+ header nav a { color:var(--ink-mute); text-decoration:none; font-family:ui-sans-serif,system-ui,sans-serif; font-size:11px; letter-spacing:.18em; text-transform:uppercase; margin-left:24px; }
+ header nav a:hover { color:var(--ink); }
+ main { max-width:760px; margin:48px auto 96px; padding:0 28px; }
+ h1 { font-weight:500; font-size:36px; letter-spacing:-0.01em; margin:0 0 10px; }
+ .lede { color:var(--ink-mute); font-size:16px; line-height:1.5; margin-bottom:48px; }
+ .pet { border-top:1px solid var(--line); padding:28px 0; }
+ .pet h2 { font-weight:500; font-size:22px; margin:0 0 8px; }
+ .pet p { color:var(--ink-mute); font-size:14px; line-height:1.55; margin:0 0 16px; }
+ .row { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
+ .row button {
+ background:var(--ink); color:var(--paper); border:0; padding:9px 18px;
+ font-family:ui-sans-serif,system-ui,sans-serif; font-size:11px; letter-spacing:.18em; text-transform:uppercase; cursor:pointer;
+ }
+ .row button:disabled { opacity:.5; cursor:not-allowed; }
+ .row .count { color:var(--ink-mute); font-family:ui-sans-serif,system-ui,sans-serif; font-size:12px; letter-spacing:.08em; }
+ footer { padding:32px 28px 48px; color:var(--ink-mute); font-size:11px; font-family:ui-sans-serif,system-ui,sans-serif; letter-spacing:.12em; text-transform:uppercase; text-align:center; border-top:1px solid var(--line); margin-top:48px; }
+</style>
+</head>
+<body>
+<header>
+ <a href="/" style="text-decoration:none;color:var(--ink);"><span class="mark">designerline</span></a>
+ <nav>
+ <a href="/commerce.html">commerce</a>
+ <a href="/advocacy.html" style="color:var(--ink);">advocacy</a>
+ <a href="/community.html">community</a>
+ </nav>
+</header>
+
+<main>
+ <h1>Petitions backed by 60,000 working designers.</h1>
+ <p class="lede">Your signature is verified against your trade credentials in dw_unified. No bots. No retail customers. Only working designers carrying real client portfolios.</p>
+ <div id="list"></div>
+</main>
+
+<footer>advocacy · designerline v0.1 · supports counted server-side (scaffold)</footer>
+
+<script>
+async function load() {
+ const data = await (await fetch('/api/advocacy/petitions')).json();
+ const local = JSON.parse(localStorage.getItem('dl.advocacy.signed') || '{}');
+ document.getElementById('list').innerHTML = (data.petitions||[]).map(p => `
+ <article class="pet">
+ <h2>${escapeHTML(p.title)}</h2>
+ <p>${escapeHTML(p.desc)}</p>
+ <div class="row">
+ <button data-id="${p.id}" ${local[p.id]?'disabled':''}>${local[p.id]?'Signed':'Sign this petition'}</button>
+ <span class="count" id="c-${p.id}">${(p.supports||0) + (local[p.id]?1:0)} supporter${(p.supports||0)+(local[p.id]?1:0)===1?'':'s'}</span>
+ </div>
+ </article>
+ `).join('');
+ document.querySelectorAll('.pet button').forEach(b => {
+ b.addEventListener('click', () => {
+ const id = b.dataset.id;
+ const signed = JSON.parse(localStorage.getItem('dl.advocacy.signed') || '{}');
+ signed[id] = true;
+ localStorage.setItem('dl.advocacy.signed', JSON.stringify(signed));
+ b.disabled = true; b.textContent = 'Signed';
+ const c = document.getElementById('c-'+id);
+ const n = parseInt(c.textContent) + 1;
+ c.textContent = n + ' supporter' + (n===1?'':'s');
+ });
+ });
+}
+function escapeHTML(s){return String(s).replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));}
+load();
+</script>
+</body>
+</html>
diff --git a/public/commerce.html b/public/commerce.html
new file mode 100644
index 0000000..2c33afc
--- /dev/null
+++ b/public/commerce.html
@@ -0,0 +1,138 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width,initial-scale=1" />
+<title>commerce · designerline</title>
+<style>
+ :root { --ink:#0e0e0c; --ink-mute:#6e6e68; --paper:#faf8f2; --line:#d9d4c5; --cols:4; }
+ * { box-sizing: border-box; }
+ body { margin:0; background:var(--paper); color:var(--ink); font-family: ui-serif, Georgia, serif; }
+ header {
+ display:flex; justify-content:space-between; align-items:center;
+ padding:20px 28px; border-bottom:1px solid var(--line);
+ position:sticky; top:0; background:var(--paper); z-index:10;
+ }
+ header .mark { font-family:ui-sans-serif,system-ui,sans-serif; font-size:13px; letter-spacing:.22em; text-transform:uppercase; font-weight:600; }
+ header nav a { color:var(--ink-mute); text-decoration:none; font-family:ui-sans-serif,system-ui,sans-serif; font-size:11px; letter-spacing:.18em; text-transform:uppercase; margin-left:24px; }
+ header nav a:hover { color:var(--ink); }
+ .controls {
+ display:flex; gap:18px; align-items:center; padding:18px 28px;
+ border-bottom:1px solid var(--line); flex-wrap:wrap;
+ font-family:ui-sans-serif,system-ui,sans-serif; font-size:12px;
+ }
+ .controls label { color:var(--ink-mute); letter-spacing:.12em; text-transform:uppercase; font-size:11px; }
+ .controls select, .controls input[type=search] {
+ font-family:ui-sans-serif,system-ui,sans-serif; font-size:13px;
+ border:1px solid var(--line); background:#fff; padding:6px 10px; border-radius:0;
+ }
+ .controls input[type=range] { vertical-align: middle; width:140px; }
+ .controls .right { margin-left:auto; color:var(--ink-mute); font-size:12px; }
+ .grid {
+ display:grid; grid-template-columns: repeat(var(--cols), 1fr);
+ gap:24px; padding:24px 28px;
+ }
+ .card { background:#fff; border:1px solid var(--line); position:relative; }
+ .card .img { aspect-ratio: 1/1; background:#eee5cc; overflow:hidden; }
+ .card .img img { width:100%; height:100%; object-fit:cover; display:block; }
+ .card .meta { padding:10px 12px 14px; }
+ .card .ven { font-family:ui-sans-serif,system-ui,sans-serif; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute); }
+ .card .title { font-size:14px; margin:4px 0 6px; line-height:1.3; min-height:36px; }
+ .card .px { font-family:ui-sans-serif,system-ui,sans-serif; font-size:12px; color:var(--ink); }
+ .empty { padding:80px 28px; text-align:center; color:var(--ink-mute); font-style: italic; }
+ footer { padding:32px 28px 48px; color:var(--ink-mute); font-size:11px; font-family:ui-sans-serif,system-ui,sans-serif; letter-spacing:.12em; text-transform:uppercase; text-align:center; border-top:1px solid var(--line); margin-top:48px; }
+</style>
+</head>
+<body>
+
+<header>
+ <a href="/" style="text-decoration:none;color:var(--ink);"><span class="mark">designerline</span></a>
+ <nav>
+ <a href="/commerce.html" style="color:var(--ink);">commerce</a>
+ <a href="/advocacy.html">advocacy</a>
+ <a href="/community.html">community</a>
+ </nav>
+</header>
+
+<div class="controls">
+ <label>vendor</label>
+ <select id="vendor">
+ <option value="">all vendors</option>
+ <option value="Scalamandre">Scalamandre</option>
+ <option value="Schumacher">Schumacher</option>
+ <option value="Thibaut">Thibaut</option>
+ <option value="Phillip Jeffries">Phillip Jeffries</option>
+ <option value="Maya Romanoff">Maya Romanoff</option>
+ </select>
+
+ <label>search</label>
+ <input id="q" type="search" placeholder="title, sku…" />
+
+ <label>sort</label>
+ <select id="sort">
+ <option value="newest">newest</option>
+ <option value="title">title a→z</option>
+ <option value="vendor">vendor a→z</option>
+ <option value="sku">sku a→z</option>
+ </select>
+
+ <label>density</label>
+ <input id="cols" type="range" min="2" max="8" value="4" />
+
+ <span class="right" id="count">loading…</span>
+</div>
+
+<div class="grid" id="grid"></div>
+<div id="empty" class="empty" style="display:none">no products matched. try a different vendor or clear search.</div>
+
+<footer>commerce · designerline v0.1 · pulled live from dw_unified.shopify_products</footer>
+
+<script>
+const $ = (id) => document.getElementById(id);
+const root = document.documentElement;
+
+const load = (() => {
+ // restore controls from localStorage
+ ['vendor','sort','q'].forEach(k => { const v = localStorage.getItem('dl.commerce.'+k); if (v !== null) $(k).value = v; });
+ const savedCols = localStorage.getItem('dl.commerce.cols') || '4';
+ $('cols').value = savedCols; root.style.setProperty('--cols', savedCols);
+
+ let req = 0;
+ return async function fetchProducts() {
+ const myReq = ++req;
+ const params = new URLSearchParams({
+ vendor: $('vendor').value, q: $('q').value, sort: $('sort').value, limit: '120',
+ });
+ ['vendor','sort','q','cols'].forEach(k => localStorage.setItem('dl.commerce.'+k, $(k).value));
+ $('count').textContent = 'loading…';
+ let data;
+ try { data = await (await fetch('/api/commerce/products?'+params)).json(); }
+ catch (e) { $('count').textContent = 'err: '+e.message; return; }
+ if (myReq !== req) return;
+ if (data.error) { $('count').textContent = 'err: '+data.error; return; }
+ const ps = data.products || [];
+ $('count').textContent = ps.length + ' product' + (ps.length===1?'':'s');
+ $('empty').style.display = ps.length ? 'none' : 'block';
+ $('grid').innerHTML = ps.map(p => `
+ <div class="card">
+ <div class="img">${p.image_url ? `<img src="${p.image_url}" loading="lazy" alt="" />` : ''}</div>
+ <div class="meta">
+ <div class="ven">${escapeHTML(p.vendor||'')}</div>
+ <div class="title">${escapeHTML(p.title||'')}</div>
+ <div class="px">${p.net_price ? '$'+Number(p.net_price).toFixed(2)+' trade' : (p.retail_price ? '$'+Number(p.retail_price).toFixed(2) : '—')}</div>
+ </div>
+ </div>
+ `).join('');
+ };
+})();
+
+function escapeHTML(s) { return String(s).replace(/[&<>"']/g, c => ({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c])); }
+
+['vendor','sort'].forEach(id => $(id).addEventListener('change', load));
+$('q').addEventListener('input', () => { clearTimeout(window._tq); window._tq = setTimeout(load, 280); });
+$('cols').addEventListener('input', e => { root.style.setProperty('--cols', e.target.value); localStorage.setItem('dl.commerce.cols', e.target.value); });
+
+load();
+</script>
+</body>
+</html>
diff --git a/public/community.html b/public/community.html
new file mode 100644
index 0000000..275610d
--- /dev/null
+++ b/public/community.html
@@ -0,0 +1,63 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width,initial-scale=1" />
+<title>community · designerline</title>
+<style>
+ :root { --ink:#0e0e0c; --ink-mute:#6e6e68; --paper:#faf8f2; --line:#d9d4c5; }
+ * { box-sizing:border-box; }
+ body { margin:0; background:var(--paper); color:var(--ink); font-family: ui-serif, Georgia, serif; }
+ header { display:flex; justify-content:space-between; align-items:center; padding:20px 28px; border-bottom:1px solid var(--line); }
+ header .mark { font-family:ui-sans-serif,system-ui,sans-serif; font-size:13px; letter-spacing:.22em; text-transform:uppercase; font-weight:600; }
+ header nav a { color:var(--ink-mute); text-decoration:none; font-family:ui-sans-serif,system-ui,sans-serif; font-size:11px; letter-spacing:.18em; text-transform:uppercase; margin-left:24px; }
+ header nav a:hover { color:var(--ink); }
+ main { max-width:840px; margin:48px auto 96px; padding:0 28px; }
+ h1 { font-weight:500; font-size:36px; letter-spacing:-0.01em; margin:0 0 12px; }
+ .lede { color:var(--ink-mute); font-size:15px; line-height:1.5; margin:0 0 40px; }
+ article.item { border-top:1px solid var(--line); padding:24px 0; display:flex; gap:20px; align-items:flex-start; }
+ article.item:last-child { border-bottom:1px solid var(--line); }
+ .kind { flex-shrink:0; width:96px; font-family:ui-sans-serif,system-ui,sans-serif; font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-mute); padding-top:4px; }
+ .kind.townhall { color:#7a1b1b; }
+ .body h2 { font-weight:500; font-size:20px; margin:0 0 6px; line-height:1.3; }
+ .body .ts { font-family:ui-sans-serif,system-ui,sans-serif; font-size:11px; letter-spacing:.08em; color:var(--ink-mute); }
+ footer { padding:32px 28px 48px; color:var(--ink-mute); font-size:11px; font-family:ui-sans-serif,system-ui,sans-serif; letter-spacing:.12em; text-transform:uppercase; text-align:center; border-top:1px solid var(--line); margin-top:48px; }
+</style>
+</head>
+<body>
+<header>
+ <a href="/" style="text-decoration:none;color:var(--ink);"><span class="mark">designerline</span></a>
+ <nav>
+ <a href="/commerce.html">commerce</a>
+ <a href="/advocacy.html">advocacy</a>
+ <a href="/community.html" style="color:var(--ink);">community</a>
+ </nav>
+</header>
+
+<main>
+ <h1>The trade feed.</h1>
+ <p class="lede">Vendor announcements, archive acquisitions, regulatory filings, monthly town halls. Curated from 30 years of trade history.</p>
+ <div id="feed"></div>
+</main>
+
+<footer>community · designerline v0.1 · feed scaffold (static seed)</footer>
+
+<script>
+async function load() {
+ const data = await (await fetch('/api/community/feed')).json();
+ document.getElementById('feed').innerHTML = (data.items||[]).map(i => `
+ <article class="item">
+ <div class="kind ${i.kind}">${i.kind}</div>
+ <div class="body">
+ <h2>${escapeHTML(i.title)}</h2>
+ <div class="ts">${fmtDate(i.ts)}</div>
+ </div>
+ </article>
+ `).join('');
+}
+function fmtDate(iso){ try { return new Date(iso).toLocaleString('en-US',{ month:'short', day:'numeric', year:'numeric', hour:'numeric', minute:'2-digit' }); } catch { return iso; } }
+function escapeHTML(s){return String(s).replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));}
+load();
+</script>
+</body>
+</html>
diff --git a/public/index.html b/public/index.html
new file mode 100644
index 0000000..3e1eb06
--- /dev/null
+++ b/public/index.html
@@ -0,0 +1,160 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width,initial-scale=1" />
+<title>designerline — the trade designer's everything-app</title>
+<style>
+ :root {
+ --ink: #0e0e0c;
+ --ink-mute: #6e6e68;
+ --paper: #faf8f2;
+ --line: #d9d4c5;
+ --accent: #2d1c10;
+ }
+ * { box-sizing: border-box; }
+ html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink);
+ font-family: ui-serif, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
+ -webkit-font-smoothing: antialiased;
+ }
+ /* HERO — gucci-style: logo upper-left, hamburger upper-right, wordmark below image */
+ .hero { position: relative; width: 100%; min-height: 78vh; overflow: hidden; background: #1a1714; }
+ .hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
+ .hero .nav-top {
+ position: absolute; top: 24px; left: 28px; right: 28px;
+ display: flex; justify-content: space-between; align-items: center; z-index: 2;
+ }
+ .hero .mark {
+ color: #fff; font-family: ui-sans-serif, system-ui, sans-serif;
+ font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
+ text-shadow: 0 1px 4px rgba(0,0,0,0.5);
+ }
+ .hero .hamburger {
+ width: 28px; height: 28px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; justify-content: center;
+ }
+ .hero .hamburger span { display: block; height: 1.5px; background: #fff; }
+ .hero .wordmark-zone {
+ position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 28px 36px;
+ color: #fff; text-align: center; z-index: 2;
+ background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
+ }
+ .hero .wordmark {
+ font-family: ui-serif, Georgia, serif; font-weight: 500;
+ font-size: clamp(40px, 9vw, 96px); letter-spacing: -0.02em; line-height: 1;
+ text-shadow: 0 2px 12px rgba(0,0,0,0.45);
+ }
+ .hero .tag {
+ font-family: ui-serif, Georgia, serif; font-style: italic; font-weight: 400;
+ font-size: clamp(14px, 1.8vw, 18px); letter-spacing: 0.02em; opacity: 0.95;
+ margin-top: 12px;
+ }
+ .hero .cta {
+ display: inline-block; margin-top: 22px; padding: 10px 22px;
+ border: 1px solid rgba(255,255,255,0.7); color: #fff;
+ font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
+ text-decoration: none; transition: background 0.18s, color 0.18s;
+ }
+ .hero .cta:hover { background: #fff; color: var(--accent); }
+
+ /* DESTINATIONS — three jobs-to-be-done */
+ .three {
+ max-width: 1280px; margin: 80px auto; padding: 0 28px;
+ display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
+ }
+ @media (max-width: 820px) { .three { grid-template-columns: 1fr; gap: 56px; } }
+ .pillar { border-top: 1px solid var(--line); padding-top: 28px; }
+ .pillar .num {
+ font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11px;
+ letter-spacing: 0.22em; color: var(--ink-mute); text-transform: uppercase;
+ }
+ .pillar h2 {
+ margin: 12px 0 14px; font-family: ui-serif, Georgia, serif;
+ font-size: 30px; font-weight: 500; letter-spacing: -0.01em;
+ }
+ .pillar p {
+ margin: 0 0 22px; color: var(--ink-mute); font-size: 15px; line-height: 1.55;
+ }
+ .pillar a.go {
+ font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11px;
+ letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
+ text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px;
+ }
+ .pillar a.go:hover { color: var(--accent); border-bottom-color: var(--accent); }
+
+ /* PROOF strip */
+ .proof {
+ background: var(--accent); color: #f5ecd9;
+ padding: 64px 28px; text-align: center;
+ margin-top: 80px;
+ }
+ .proof .num {
+ font-family: ui-serif, Georgia, serif; font-size: clamp(36px, 5vw, 56px);
+ font-weight: 500; letter-spacing: -0.01em; line-height: 1;
+ }
+ .proof .lbl {
+ font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11px;
+ letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,236,217,0.7);
+ margin-top: 10px;
+ }
+ .proof .row { display: flex; justify-content: center; gap: 96px; flex-wrap: wrap; }
+ .proof .row > div { padding: 0 16px; }
+
+ footer {
+ color: var(--ink-mute); font-family: ui-sans-serif, system-ui, sans-serif;
+ font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
+ padding: 36px 28px 48px; text-align: center;
+ }
+</style>
+</head>
+<body>
+
+<section class="hero">
+ <img class="bg" alt="" src="https://images.unsplash.com/photo-1556228720-195a672e8a03?w=2400&auto=format&fit=crop&q=80" onerror="this.style.display='none'" />
+ <div class="nav-top">
+ <span class="mark">designerline</span>
+ <div class="hamburger" aria-label="menu"><span></span><span></span><span></span></div>
+ </div>
+ <div class="wordmark-zone">
+ <div class="wordmark">designerline</div>
+ <div class="tag">the trade designer's everything-app.</div>
+ <a class="cta" href="/commerce.html">enter</a>
+ </div>
+</section>
+
+<section class="three">
+ <article class="pillar">
+ <div class="num">01 — commerce</div>
+ <h2>Sample requests &<br/>trade pricing.</h2>
+ <p>One workflow. Every vendor. Order memos and rolls from 400+ wallcovering and fabric houses at your verified trade tier — without the email chain.</p>
+ <a class="go" href="/commerce.html">browse the catalog →</a>
+ </article>
+
+ <article class="pillar">
+ <div class="num">02 — advocacy</div>
+ <h2>Petitions on IP &<br/>price transparency.</h2>
+ <p>Sign on to industry petitions — pattern IP protection, trade-pricing disclosure, honest lead times. Your signature carries the weight of a verified working designer.</p>
+ <a class="go" href="/advocacy.html">open petitions →</a>
+ </article>
+
+ <article class="pillar">
+ <div class="num">03 — community</div>
+ <h2>The trade feed.<br/>Town halls. News.</h2>
+ <p>Vendor announcements, archive acquisitions, regulatory filings, monthly town halls. Surfaced from 30 years of trade history, not a generic design Pinterest.</p>
+ <a class="go" href="/community.html">read the feed →</a>
+ </article>
+</section>
+
+<section class="proof">
+ <div class="row">
+ <div><div class="num">60,000</div><div class="lbl">trade-verified designers</div></div>
+ <div><div class="num">400+</div><div class="lbl">vendor partners</div></div>
+ <div><div class="num">30 yrs</div><div class="lbl">trade data</div></div>
+ </div>
+</section>
+
+<footer>
+ designerline — concept v0.1 · port 9780 · single auth via dw_unified
+</footer>
+
+</body>
+</html>
diff --git a/server.js b/server.js
new file mode 100644
index 0000000..345c8b3
--- /dev/null
+++ b/server.js
@@ -0,0 +1,75 @@
+// DesignerLine — trade designer's everything-app
+// Combines: WallcoverDM (commerce) + DesignerDemands (advocacy) + PulseForDesigners (community)
+// Target: 60k DW trade-verified designers. Single auth, single notification system, single billing.
+
+const express = require('express');
+const path = require('path');
+const { Pool } = require('pg');
+
+const app = express();
+const PORT = process.env.PORT || 9780;
+
+// dw_unified for trade-verified designer auth (shared with DW main).
+// Connection is optional at boot — only commerce/advocacy/community APIs require it.
+const pool = process.env.DATABASE_URL
+ ? new Pool({ connectionString: process.env.DATABASE_URL })
+ : new Pool({ host: '/tmp', database: 'dw_unified', user: process.env.USER || 'stevestudio2' });
+
+app.use(express.json());
+app.use(express.static(path.join(__dirname, 'public')));
+
+// ---- shared health + identity ---------------------------------------------
+app.get('/api/health', (req, res) => res.json({ ok: true, app: 'designerline', port: PORT, ts: new Date().toISOString() }));
+
+// ---- COMMERCE — sample requests + trade pricing ---------------------------
+// Pulls real Scalamandre wallcoverings as the seed catalog (1,117 active in dw_unified).
+app.get('/api/commerce/products', async (req, res) => {
+ const { vendor = '', q = '', limit = 60, sort = 'newest' } = req.query;
+ const lim = Math.min(parseInt(limit) || 60, 200);
+ try {
+ const params = [];
+ let where = "WHERE status='ACTIVE' AND product_type ILIKE '%wallcover%'";
+ if (vendor) { params.push(`%${vendor}%`); where += ` AND vendor ILIKE $${params.length}`; }
+ if (q) { params.push(`%${q}%`); where += ` AND (title ILIKE $${params.length} OR sku ILIKE $${params.length})`; }
+ const orderBy = {
+ 'newest': 'updated_at_shopify DESC NULLS LAST',
+ 'title': 'title ASC',
+ 'vendor': 'vendor ASC, title ASC',
+ 'sku': 'sku ASC NULLS LAST',
+ }[sort] || 'updated_at_shopify DESC NULLS LAST';
+ params.push(lim);
+ const { rows } = await pool.query(
+ `SELECT handle, title, vendor, product_type, sku, image_url, retail_price, net_price
+ FROM shopify_products ${where}
+ ORDER BY ${orderBy}
+ LIMIT $${params.length}`,
+ params
+ );
+ res.json({ count: rows.length, sort, vendor, q, products: rows });
+ } catch (e) {
+ res.status(500).json({ error: e.message });
+ }
+});
+
+// ---- ADVOCACY — petitions on IP + trade pricing transparency --------------
+const STARTER_PETITIONS = [
+ { id: 'p_ip_protection', title: 'Strengthen wallcovering pattern IP protection', desc: 'Petition Congress + WIPO to recognize wallcovering patterns as protectable design works under Hague Agreement.', supports: 0 },
+ { id: 'p_trade_price_transparency', title: 'Mandatory trade-pricing disclosure from manufacturers', desc: 'Vendors must publish trade discount tiers (% off MSRP) so independent designers can compete with chains.', supports: 0 },
+ { id: 'p_lead_time_honesty', title: 'Real lead-time disclosure law', desc: 'Manufacturer-published lead times must reflect 90-day rolling actuals, not best-case scenarios.', supports: 0 },
+];
+app.get('/api/advocacy/petitions', (req, res) => res.json({ petitions: STARTER_PETITIONS }));
+
+// ---- COMMUNITY — designer feed (news + town halls) ------------------------
+const STARTER_FEED = [
+ { id: 'f1', kind: 'news', title: 'Schumacher acquires textile rights to Maison Lévy archive', ts: '2026-05-11T14:00:00Z' },
+ { id: 'f2', kind: 'townhall', title: 'May Town Hall — vendor MAP enforcement after the Q1 lawsuits', ts: '2026-05-13T18:00:00Z' },
+ { id: 'f3', kind: 'news', title: 'WIPO releases draft on wallcovering pattern protection', ts: '2026-05-10T09:30:00Z' },
+];
+app.get('/api/community/feed', (req, res) => res.json({ items: STARTER_FEED }));
+
+// ---- ROOT -----------------------------------------------------------------
+app.get('/', (req, res) => res.sendFile(path.join(__dirname, 'public', 'index.html')));
+
+app.listen(PORT, '127.0.0.1', () => {
+ console.log(`[designerline] listening at http://127.0.0.1:${PORT}/`);
+});
(oldest)
·
back to Designer Line
·
snapshot before refactor pass 994fe12 →