His name is Johny, from Pizza store who helps you with your pizza order and track your existing any order.
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
Ok, here I'm using couple things and listed it bellow.
- Vuejs (for my frontend)
- Nodejs (it's for my backend, mostly for API parts)
- DialogFlow (Main heart of this application)
- FirBase (to store data)
That's it.
You need to do couple things before start this application. Creation of private key files for dialogFlow & FireBase. For demo I'm using my credentials to access dialogFlow & FireBase API and i'm not sharing with this repository for security purpose. To get your own key file please follow the bellow steps.
DialogFlow
- you need to create an account in dialogflow and export the agent as zip. Zip file is present under projectAssets folder.
-
Use this guide to generate private key and other setup
-
place the private key file (rename it to dialogFlow.json) under keyFile folder.
FireBase
- create a account in FirBase.
- vising the account setting page -> project settings -> service accounts
- Generate the key file and save it under keyFile folder (rename the file as firebase.json) in this project.
After doing all the steps your folder structure look like this
Thats it. We are good to go to run this app now.
Screen shoots of this project can be found here https://github.com/suvradip/pizza-bot/tree/master/projectAssets/chat