Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/rish-0-0/chatbot-bsc
- Owner: rish-0-0
- Created: 2019-06-25T05:11:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T11:52:07.000Z (almost 2 years ago)
- Last Synced: 2023-03-07T13:12:44.271Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://chatbot-bsc.herokuapp.com
- Size: 553 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
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`