Scratch space for learning atproto app development

improve end defaults

Changed files
+3 -2
src
+2 -2
.env.template
···
# Environment Configuration
NODE_ENV="development" # Options: 'development', 'production'
PORT="8080" # The port your server will listen on
# PUBLIC_URL="" # Set when deployed publicly, e.g. "https://mysite.com". Informs OAuth client id.
-
DB_PATH="db.sqlite" # The SQLite database path. Set as ":memory:" to use a temporary in-memory database.
-
LOG_LEVEL="info" # Options: 'error', 'warn', 'info', 'debug'
# PDS_URL="https://my.pds" # The the default PDS for login and sign-ups
# Secrets bellow *MUST* be set in production
···
# Environment Configuration
NODE_ENV="development" # Options: 'development', 'production'
PORT="8080" # The port your server will listen on
+
DB_PATH=":memory:" # The SQLite database path. Set as ":memory:" to use a temporary in-memory database.
# PUBLIC_URL="" # Set when deployed publicly, e.g. "https://mysite.com". Informs OAuth client id.
+
# LOG_LEVEL="info" # Options: 'fatal', 'error', 'warn', 'info', 'debug'
# PDS_URL="https://my.pds" # The the default PDS for login and sign-ups
# Secrets bellow *MUST* be set in production
+1
src/env.ts
···
COOKIE_SECRET: str({ devDefault: '00000000000000000000000000000000' }),
PRIVATE_KEYS: keys({ default: undefined }),
LOG_LEVEL: str({
default: 'info',
choices: ['fatal', 'error', 'warn', 'info', 'debug', 'trace', 'silent'],
}),
···
COOKIE_SECRET: str({ devDefault: '00000000000000000000000000000000' }),
PRIVATE_KEYS: keys({ default: undefined }),
LOG_LEVEL: str({
+
devDefault: 'debug',
default: 'info',
choices: ['fatal', 'error', 'warn', 'info', 'debug', 'trace', 'silent'],
}),