Backend service for the Symfi application.
DEBUG: (true | undefined) – debug mode, prints additional logsLOG_REQUESTS: (true | undefined) – log all incoming requestsNODE_ENV: ('test' | undefined) – environment to run the server inPORT: (number | undefined) – port to run the server on
PROXY_DOWNLOAD_ENABLED: (true | undefined) – makes the server act as a proxy for downloading audio filesPROXY_DOWNLOAD_ORIGIN: (string | undefined) – origin to proxy download, (requires:PROXY_DOWNLOAD_ENABLED)
PROXY_DOWNLOAD_STREAM_ENDPOINT: (true | undefined) – uses newer "/stream" endpoint for proxy download, (requires:PROXY_DOWNLOAD_ENABLED)
Licensed under the MIT License.
npm run build- compiles TypeScriptnpm run build:watch- compiles TypeScript and watches for changesnpm run lint- runs linternpm run lint:fix- runs linter and fixes issuesnpm run start- starts the servernpm run start:watch- starts the server and watches for changesnpm run test- runs e2e tests