Skip to content

A demo app to show how to use Firebase, Flutter, and the PaLM API

License

Notifications You must be signed in to change notification settings

paulpascal/palm_ai_demo

Repository files navigation

palm_ai_demo

A demo app to show how to use Firebase, Flutter, and the PaLM API to create a customizable chat bot using TDD Clean Architecture with BLoc.

A few resources to get you started if this is your first Flutter project:

Get Started

  1. Clone this repo into your local directory
  2. Setup Firebase project
  3. In the Firebase console, enable Cloud Firestore
  4. Install the Chatbot with PaLM API extension
  5. Install dependencies flutter pub get

✨ Enjoy!

Test

In a TDD approach, when testing a class we need to figure out the answer to theses 3 questions:

  1. What does the class depend on
  2. How can we create a fake version of the dependency (dependencies)
  3. How do we control what the deps is (are) doing?

In a TDD process, we should consider three main stages:

  1. Arrange
  2. Act
  3. Assert

In a TDD approach, we should CODE AGAINST THE TEST (RED)

About

A demo app to show how to use Firebase, Flutter, and the PaLM API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published