mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-01 07:28:35 +02:00
♻️ Create backend package (#643)
This commit is contained in:
parent
7fc08c6736
commit
05fe2edaea
68 changed files with 476 additions and 391 deletions
99
packages/tsconfig/environment.d.ts
vendored
Normal file
99
packages/tsconfig/environment.d.ts
vendored
Normal file
|
@ -0,0 +1,99 @@
|
|||
declare global {
|
||||
namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
/**
|
||||
* Full database connection string
|
||||
*/
|
||||
DATABASE_URL: string;
|
||||
/**
|
||||
* "development" or "production"
|
||||
*/
|
||||
NODE_ENV: "development" | "production";
|
||||
/**
|
||||
* Set to "true" to take users straight to app instead of landing page
|
||||
*/
|
||||
DISABLE_LANDING_PAGE?: string;
|
||||
/**
|
||||
* Must be 32 characters long
|
||||
*/
|
||||
SECRET_PASSWORD: string;
|
||||
/**
|
||||
* "1" to turn on maintenance mode
|
||||
*/
|
||||
NEXT_PUBLIC_MAINTENANCE_MODE?: string;
|
||||
/**
|
||||
* Posthog API key
|
||||
*/
|
||||
NEXT_PUBLIC_POSTHOG_API_KEY?: string;
|
||||
/**
|
||||
* Posthog API host
|
||||
*/
|
||||
NEXT_PUBLIC_POSTHOG_API_HOST?: string;
|
||||
/**
|
||||
* Crisp website ID
|
||||
*/
|
||||
NEXT_PUBLIC_CRISP_WEBSITE_ID?: string;
|
||||
/**
|
||||
* When defined users will be able to send feedback to this email address
|
||||
*/
|
||||
NEXT_PUBLIC_FEEDBACK_EMAIL?: string;
|
||||
/**
|
||||
* Users of your instance will see this as their support email
|
||||
*/
|
||||
SUPPORT_EMAIL: string;
|
||||
/**
|
||||
* Host address of the SMTP server
|
||||
*/
|
||||
SMTP_HOST: string;
|
||||
/**
|
||||
* Email address or user if authentication is required
|
||||
*/
|
||||
SMTP_USER: string;
|
||||
/**
|
||||
* Password if authentication is required
|
||||
*/
|
||||
SMTP_PWD: string;
|
||||
/**
|
||||
* "true" to use SSL
|
||||
*/
|
||||
SMTP_SECURE: string;
|
||||
/**
|
||||
* Port number of the SMTP server
|
||||
*/
|
||||
SMTP_PORT: string;
|
||||
/**
|
||||
* Comma separated list of email addresses that are allowed to register and login.
|
||||
* If not set, all emails are allowed. Wildcard characters are supported.
|
||||
*
|
||||
* Example: "user@example.com, *@example.com, *@*.example.com"
|
||||
*/
|
||||
ALLOWED_EMAILS?: string;
|
||||
/**
|
||||
* "true" to require authentication for creating new polls and accessing admin pages
|
||||
*/
|
||||
AUTH_REQUIRED?: string;
|
||||
/**
|
||||
* Determines what email provider to use. "smtp" or "ses"
|
||||
*/
|
||||
EMAIL_PROVIDER?: "smtp" | "ses";
|
||||
/**
|
||||
* AWS access key ID
|
||||
*/
|
||||
AWS_ACCESS_KEY_ID?: string;
|
||||
/**
|
||||
* AWS secret access key
|
||||
*/
|
||||
AWS_SECRET_ACCESS_KEY?: string;
|
||||
/**
|
||||
* AWS region
|
||||
*/
|
||||
AWS_REGION?: string;
|
||||
/**
|
||||
* The app version just for reference
|
||||
*/
|
||||
NEXT_PUBLIC_APP_VERSION?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
Loading…
Add table
Add a link
Reference in a new issue