41 create tenant twilio config (#62)
* add tenant config table * add encryption/decryption + env vars * generate secret and validate iv position is number * expect errors * remove TWILIO env vars * settings page impl * update schema definitions after Mostaphas Tenant impl * load user env * just return empty config * add Settings menu item * check if settings are present and provide warning if not * correct form item names * use correct locals value * ree * give twilio its own table * lock prisma version * event url is the correct param * load twilio config from db * commit migration * use test script not bun command
This commit is contained in:
parent
8006d523c7
commit
8270c53509
24 changed files with 515 additions and 57 deletions
8
.env
8
.env
|
|
@ -1,9 +1,9 @@
|
|||
NODE_ENV=
|
||||
|
||||
# TWILIO
|
||||
TWILIO_ACCOUNT_SID=
|
||||
TWILIO_AUTH_TOKEN=
|
||||
TWILIO_PHONE_NUMBER=
|
||||
# SECRETS
|
||||
SECRETS_PASSWORD=secret_do_not_commit_or_change_this_create_.env.local_instead
|
||||
SECRETS_SALT=secret_do_not_commit_or_change_this_create_.env.local_instead
|
||||
SECRETS_IV_POSITION=secret_do_not_commit_or_change_this_create_.env.local_instead
|
||||
|
||||
# PRISMA
|
||||
DATABASE_URL="postgres://hestia:test123@localhost:5432/hestia"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue