const config = {
    // App information
    appName: import.meta.env.VITE_APP_NAME || 'Rocks, Bones & Sticks',
    
    // API connection
    apiUrl: import.meta.env.VITE_API_URL || '/api',
    
    // Environment
    environment: import.meta.env.VITE_ENVIRONMENT || 'beta',
    isDevelopment: import.meta.env.DEV,
    isProduction: import.meta.env.PROD,
    
    // Site configuration (domain and protocol based on environment)
    site: {
      domain: import.meta.env.VITE_ENVIRONMENT === 'prod' ? 'rocks.2many.ca' : 'localhost:3000',
      protocol: import.meta.env.VITE_ENVIRONMENT === 'prod' ? 'https' : 'http',
      apiDomain: import.meta.env.VITE_ENVIRONMENT === 'prod' ? 'api.rocks.2many.ca' : 'localhost:4000'
    }
  };
  
  export default config;