Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

FirebaseExtended/palm-chatbot-angular

Repository files navigation

Image for: Repository files navigation

PalmApiApp

A demo app to show how to use Firebase, Angular, and the PaLM API to create a customizable chat bot.

Get started

Image for: Get started
  1. Create a Firebase project
  2. Register a new web app with Firebase Hosting
  3. In the Firebase console, enable Cloud Firestore
  4. Install the Chatbot with PaLM API extension
  5. Clone this repo into your local directory
  6. npm install to install dependencies
  7. Add the web app config object from the Firebase console in src/environments/environment.ts and src/environments/environment.development.ts files.
  8. Use the Angular CLI to run ng add @angular/fire --project=[YOUR PROJECT_NAME]
  9. ng deploy to compile your project and deploy to your hosting URL

Your chatbot is deployed to Firebase, and ready to use!

Development server

Image for: Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Build

Image for: Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Deploy

Image for: Deploy

Run ng deploy to deploy the project to your hosting website. Navigate to the provided Hosting URL to try out your chatbot.

Further help

Image for: Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

Image for: About
No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

Image for: Releases
No releases published

Packages

Image for: Packages 0
No packages published