Add complete Government Travel Cost Estimator web application

Co-authored-by: mblanke <9078342+mblanke@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-13 13:52:15 +00:00
parent 5e2521bff9
commit 4372cc0904
11 changed files with 2069 additions and 1 deletions

33
config.js Normal file
View File

@@ -0,0 +1,33 @@
// Configuration file for Amadeus API
// To enable real-time flight search, add your Amadeus API credentials here
// Instructions to get Amadeus API credentials:
// 1. Visit https://developers.amadeus.com/
// 2. Sign up for a free account
// 3. Create a new app in your dashboard
// 4. Copy your API Key and API Secret
// 5. Paste them below
const CONFIG = {
amadeus: {
// Replace these with your actual Amadeus API credentials
apiKey: null, // Your Amadeus API Key
apiSecret: null, // Your Amadeus API Secret
environment: 'test' // 'test' or 'production'
}
};
// Initialize Amadeus API if credentials are provided
if (CONFIG.amadeus.apiKey && CONFIG.amadeus.apiSecret) {
if (typeof configureAmadeusAPI === 'function') {
configureAmadeusAPI(CONFIG.amadeus.apiKey, CONFIG.amadeus.apiSecret);
console.log('Amadeus API configured successfully');
}
} else {
console.log('Amadeus API not configured - using mock flight data');
}
// Export configuration
if (typeof module !== 'undefined' && module.exports) {
module.exports = CONFIG;
}