Environment Configuration
Powering Project Intelligence
TEIRAC is designed to provide high-performance, data-driven project oversight. To achieve the real-time "Project Intelligence" displayed in your dashboards—such as SPI analytics, budget utilization, and risk tracking—the system requires a seamless connection between the front-end interface and the cloud infrastructure.
By configuring your environment variables correctly, you enable TEIRAC to deliver:
- Real-Time Metric Syncing: Instant updates for project health and schedule status.
- Secure Multi-Factor Authentication (MFA): Robust protection for sensitive project data.
- Automated Reporting: Accurate data flow into KPI cards and project modules.
Secure Backend Integration
TEIRAC utilizes Supabase as its core data engine. This integration provides the backbone for the system's authentication and real-time database capabilities. To connect the application to your project instance, you must define the following variables in your .env file at the root of the project.
Required Configuration Variables
| Variable | Purpose | Impact on End-User |
| :--- | :--- | :--- |
| VITE_SUPABASE_URL | The API endpoint for your Supabase instance. | Connects the dashboard to your live project data. |
| VITE_SUPABASE_ANON_KEY | The client-side public API key. | Enables secure, authorized access to project metrics and task lists. |
Example .env implementation:
# TEIRAC Backend Connection
VITE_SUPABASE_URL=https://your-project-id.supabase.co
VITE_SUPABASE_ANON_KEY=your-public-anon-key
Optimizing the User Experience
The TEIRAC environment is built on Vite, ensuring a fast, responsive interface for project managers. The configuration allows the system to handle complex data modules—ranging from Gantt charts to Kanban boards—without compromising performance.
Performance and Build Settings
TEIRAC is configured with Type-Aware linting and optimized build rules to ensure data integrity across your project modules. While the React Compiler is available for advanced performance tuning, the default configuration prioritizes stability and clear visibility of project risks and SPI (Schedule Performance Index).
Enabling Modular Project Tracking
By correctly initializing the environment, users gain access to specialized modules within the ProjectPage. These modules allow for granular tracking of:
- Budget & Estimates: Real-time variance tracking between planned and actual costs.
- Risk Management: Critical visibility into project blockers and high-impact risks.
- Timesheets & Action Plans: Streamlined resource allocation and task tracking.
Security and Access Control
TEIRAC places a premium on data security. The environment configuration supports advanced authentication features found in the Settings and Login portals:
- Session Management: The system uses secure environment headers to maintain persistent user sessions, allowing for a seamless transition between the Dashboard and individual Project Pages.
- MFA Support: Once the environment is connected to Supabase, users can enroll in Multi-Factor Authentication via the Settings panel to protect project intelligence from unauthorized access.
- Password Recovery: Configuration enables the automated flow for the
ResetPasswordPage, ensuring users can securely regain access to their workspace using theupdatePasswordinterface.
Deployment Readiness
To move from a development workspace to a production-grade Project Management System, ensure your environment variables are set within your hosting provider (e.g., Vercel, Netlify). This ensures that every stakeholder—from Engineering to Finance—interacts with a synchronized, secure, and high-performance version of TEIRAC.