examples/firebase-ai-logic-angular-example at main · angular/examples
Vertex AI in Firebase x Angular Starter Kit
This repository contains everything you need to create an application using Vertex AI in Firebase with Angular to build your next great application.
Here's an example of the running application:

How to get started
-
Create and configure a project in Firebase. Follow the directions for Step 1 to create a project and a web app. Do not follow the instructions for adding the sdks, that has already been done for this repository.
-
Clone this repository or download the code to your local machine
-
cdinto the root folder (e.g.,cd vertex-ai-firebase-angular) -
Take your project settings from Firebase Console and add them to
src/environments.tsexport const environment = { production: true, firebase: { /* project settings */ }, }; -
Install the dependencies with
npm install -
Update the Firebase project settings in
environment.ts. -
Run this example with
ng serve