bootstrap-5amadeus

ArgumentError: Missing required argument: clientId


while running bootstrap-flight-search-form-part-2 using command npm run start it gives error like enter image description here


Solution

  • To run the project locally do the following steps:

    npm install
    
    const amadeus = new Amadeus({
      clientId: 'YOUR_API_KEY',
      clientSecret: 'YOUR_API_SECRET'
    });
    
    npm run start