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:
-
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
-
cd
into the root folder (e.g.,cd vertex-ai-firebase-angular
) -
Take your project settings from Firebase Console and add them to
src/environments.ts
export 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