This repository has been archived on 2022-08-25. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Backend/config.ts
Mondei1 16194dca8f Invoices can be created
- Transactions can now be tracked
2020-12-25 13:28:19 +01:00

37 lines
789 B
TypeScript

/**
* Here you can change various settings like database credentials, http settings and more.
*
* Debug mode and MongoDB credentials are set via enviroment variables for security reasons.
*/
export const config: IConfig = {
authentification: {
pepper: 'J3%_zö\\^',
salt_length: 8,
argonTimecost: 8,
minPasswordLength: 4,
maxPasswordLength: 150
},
http: {
port: 2009,
host: "0.0.0.0"
}
}
/**
* END OF CONFIG
* ====================
*/
export interface IConfig {
authentification: {
pepper: string,
salt_length: number,
argonTimecost: number,
minPasswordLength: number,
maxPasswordLength: number
},
http: {
port: number,
host: string
}
}