Files
Filamenteka/config/environments.js
DaX 18110ab159 Major restructure: Remove Confluence, add V2 data structure, organize for dev/prod
- Import real data from PDF (35 Bambu Lab filaments)
- Remove all Confluence integration and dependencies
- Implement new V2 data structure with proper inventory tracking
- Add backwards compatibility for existing data
- Create enhanced UI components (ColorSwatch, InventoryBadge, MaterialBadge)
- Add advanced filtering with quick filters and multi-criteria search
- Organize codebase for dev/prod environments
- Update Lambda functions to support both V1/V2 formats
- Add inventory summary dashboard
- Clean up project structure and documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 01:12:50 +02:00

23 lines
642 B
JavaScript

// Environment configuration
const environments = {
development: {
name: 'development',
apiUrl: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3000/api',
dynamoTableName: 'filamenteka-filaments-dev',
awsRegion: 'eu-central-1'
},
production: {
name: 'production',
apiUrl: process.env.NEXT_PUBLIC_API_URL,
dynamoTableName: 'filamenteka-filaments',
awsRegion: 'eu-central-1'
}
};
const currentEnv = process.env.NODE_ENV || 'development';
module.exports = {
env: environments[currentEnv] || environments.development,
isDev: currentEnv === 'development',
isProd: currentEnv === 'production'
};