An open API service indexing awesome lists of open source software.

https://github.com/danieldacosta/firebase-chat-bot

Platform for instantaneous and continuous dialogue, using React, Node.js and Firebase.
https://github.com/danieldacosta/firebase-chat-bot

firebase typescript

Last synced: about 1 month ago
JSON representation

Platform for instantaneous and continuous dialogue, using React, Node.js and Firebase.

Awesome Lists containing this project

README

          

# Firebase Chatbot

Firebase chatbot is a platform powered by Gemini that is designed for instantaneous and continuous dialogue.

## Tools

- React
- TypeScript
- Firebase

## Usage
To get started with firebase-chat-bot, follow these steps:

1. Create a Google Generative AI API Key: Obtain your API key from Google's Generative AI service.
2. Setup Firebase Collection: Create a Firebase collection to store chat data.

Store these keys securely in your .env file located in the project root:

```bash
REACT_APP_GOOGLE_GENERATIVE_AI_KEY=INSERT-YOUR-KEY-HERE
REACT_APP_FIREBASE_COLLECTION=YOUR-COLLECTION-Name
```

## Run

To run the project locally, use the following command:

```
npm run start
```

## Architecture

The architecture of Firebase-chat-bot is designed using a React and TypeScript front end, which communicates with the Firebase backend for real-time data storage and retrieval.

![Home Page](images/home_page.png)

![Chat History](images/home_chat_history.png)

![Mobile](images/home_page_mobile.png)