@all41/server
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

@all41/server

Base server that hosts express related apis & uis, sequelize databases and scheduled jobs.

v1.2.1 notice

The following environment vars support has been removed, replaced by related parameters:

Db

env var parameter param type default
SQLITE_STORAGE_PATH sqliteStoragePath string?
SQL_ENGINE sqlEngine 'mysql' | 'postgres' | 'mssql' | 'sqlite' | 'mariadb'|undefined 'mysql'
SQL_HOSTNAME hostname string? 'localhost'
DEFAULT_DB_LOGGING logging boolean false
SQL_PORT port number? mssql:1433 postgress:5432 sqlite:undefined mariadb:3306 mysql:3306
GOOGLE_CLOUD_SQL_CONNECTION_NAME proxy string? undefined
MYSQL_DECIMAL_NUMBERS mysqlDecimalNumbers boolean? false

Server (IServerOptions, start params)

env var parameter param type default
CONSOLE_LOG_LEVEL consoleLogLevel 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal' 'debug'
HTTP_PORT port (start function param) number? 8080
SKIP_JOBS skipJobs (start function param) boolean? false

Readme

Keywords

none

Package Sidebar

Install

npm i @all41/server

Weekly Downloads

10

Version

1.3.1

License

MIT

Unpacked Size

43.7 kB

Total Files

22

Last publish

Collaborators

  • harpsdev