- Added OpenAI API key configuration to .env.example. - Integrated OpenAI for document processing, including markdown conversion and data extraction. - Implemented new API routes for fetching document processing status and handling various processing tasks. - Enhanced the App component to manage document status and processing states with user feedback via Snackbar. - Updated CSVImportPanel and TableManagement components to support navigation to specific tabs based on processing results. - Introduced transaction handling in the database configuration for improved error management during document processing.
26 lines
713 B
Plaintext
26 lines
713 B
Plaintext
# Google OAuth Configuration
|
|
GOOGLE_CLIENT_ID=your_google_client_id_here
|
|
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
|
|
|
|
# Frontend Environment Variables (REACT_APP_ prefix required)
|
|
REACT_APP_GOOGLE_CLIENT_ID=your_google_client_id_here
|
|
|
|
# JWT Secret
|
|
JWT_SECRET=your_jwt_secret_here
|
|
|
|
# OpenAI API Configuration
|
|
OPENAI_API_KEY=your_openai_api_key_here
|
|
|
|
# Authorized Email Addresses (comma-separated)
|
|
AUTHORIZED_EMAILS=admin@example.com,user1@example.com,user2@example.com
|
|
|
|
# MSSQL Database Configuration
|
|
DB_SERVER=your_mssql_server_here
|
|
DB_DATABASE=your_database_name_here
|
|
DB_USERNAME=your_db_username_here
|
|
DB_PASSWORD=your_db_password_here
|
|
DB_PORT=1433
|
|
|
|
# Server Configuration
|
|
PORT=5000
|
|
NODE_ENV=development |