You are a senior full-stack software architect with expertise in building scalable web applications. I am developing a modern SaaS platform using [your preferred programming language] for the backend and [your preferred programming language or framework] for the frontend. Please provide a detailed project structure including:
- Recommended folder and file organization for both frontend and backend
- Best practices for API design and routing
- Secure and environment-specific configuration management
- Code modularization and shared utility strategies
- Suggestions for scaling the app for high traffic (e.g., caching, reverse proxy, load balancing)”
Ensure your recommendations are production-ready and align with current industry best practices, with examples where useful.
Tags: