# git clone https://github.com/Akash52/dialogflow-chatbot-react
cd dialogflow-chatbot-react
# npm install (these command install relevant dependencies)
npm start
The demo will be live at http://localhost:3000/
# inside Server Folder
npm install
npm start
The serve will be live at http://localhost:5000/
# Setup Your Google Dialogflow Creadintial
- Create config.js file
const dialogflowConfig = {
type: 'service_account',
project_id: 'rmcbot-srkm',
private_key_id: '',
private_key:
'-----BEGIN PRIVATE KEY-----***----END PRIVATE KEY-----\n',
client_email: '',
client_id: '',
auth_uri: 'https://accounts.google.com/o/oauth2/auth',
token_uri: 'https://oauth2.googleapis.com/token',
auth_provider_x509_cert_url: 'https://www.googleapis.com/oauth2/v1/certs',
client_x509_cert_url:
'',
}
module.exports = dialogflowConfig