import packageJson from '../package.json';

export interface Configs {
    apiUrl: string;
    baseUrl: string;
    appName: string;
    appDescription: string;
    appVersion: string;
}

const isProduction: boolean = true;

export const configs: Configs = {
    apiUrl: isProduction ? 'https://api.eritors.com/' : 'http://localhost:3001/',
    baseUrl: isProduction ? 'https://scribe.eritors.com/' : 'http://localhost:3000/',
    appName: 'ERitors Scribe',
    appDescription: 'ERitors Scribe est une application de prise de notes et d\'écriture collaborative.',
    appVersion: packageJson.version,
};