This is the code for Build gen AI features powered by your data with Firebase Genkit codelab.
First, replace src/lib/firebase.config.js with your own Firebase web app configuration.
Then install the dependencies:
npm installThen (in terminal 1), run Genkit UI:
npx genkit start(In terminal 2), run the Next.js development server:
npm run devOpen http://localhost:4000 with your browser to lauch Genkit UI.
Open http://localhost:3000 with your browser to see the Next.js app.
You can start editing the app by modifying genkit-functions/src/lib/itineraryFlow.ts, src/app/gemini/page.tsx. The page auto-updates as you edit the file.