Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rish-0-0/chatbot-bsc

Backend For chatbot-react || Frontend: https://github.com/rish-0-0/chatbot-react . Closed now, as the project was for a course. Working chatbot made using DialogFlow (nodejs) API, OpenWeatherAPI, Firebase for NodeJS as backend and React for frontend.
https://github.com/rish-0-0/chatbot-bsc

Last synced: about 15 hours ago
JSON representation

Backend For chatbot-react || Frontend: https://github.com/rish-0-0/chatbot-react . Closed now, as the project was for a course. Working chatbot made using DialogFlow (nodejs) API, OpenWeatherAPI, Firebase for NodeJS as backend and React for frontend.

Awesome Lists containing this project

README

        

# chatbot-bsc

The NODE API for [chatbot-react](https://github.com/rish-0-0/chatbot-react.git)
Uses Dialogflow for NLU and ML.

## Running Locally

```sh
$ git clone https://github.com/rish-0-0/chatbot-bsc.git # or clone your own fork
$ cd chatbot-bsc
$ npm install
$ npm start
```

Your app should now be running on [localhost:5000](http://localhost:5000/).

## Documentation

This backend covers the following use-cases of a chatting robot assistance. A weather information provider from openweatherapi, uses firebase as a database to store user queries for further data analysis and uses
dialogflow for understanding natural language and giving appropriate responses.

You will need a openweather-apis application Key, a billing account from google with dialogflow's API keyfile name, and a firebase project setup with cloud storage enabled (make a collections called `Questions`). and add it to your own `.env` folder.

`GOOGLE_APPLICATIONS_CREDENTIALS` = from your google cloud services, they generate a file for your google project. Put the file in root directory of this project and store it's name in the `.env` folder.

`PROJECT_AUTH` = the dialogflow google project name
`OPEN_WEATHER_APPID` = APPID from open weather api
`.fbpass.json` is the firebase project key file again from google cloud services. So basically download the file from your services bucket and rename after putting in the root directory of this project as `fbpass.json`