In a busy academic advising center of an university, students are frustrated that they need to wait more than one hour to see their advisor.
Using a chatbot, we can save time for both the students and the staff.
To simply see a live demo of this application, go to this site and use the following credentials to log in:
- Email:
[email protected]
- Password:
123
To start the application, you need first have a Postgres database named "1901-gh-stackathon" and another databse named "1901-gh-stackathon." Then, you follow the following steps:
- Execute
npm install
ornpm i
to install all the dependencies - Execute
npm run seed
to fill some dummy data in the database - Download the Dialogflow settings file
- Log in Dialogflow using your Google account, then import the settings file you just downloaded by following this tutorial
- On the Dialogflow dashboard, click on "Integrations" and enable the "Web Demo." Then, click on the text "Web Demo" which will then show a modal with some code in it. Copy the url inside the
<iframe>
tag and paste it in thelink
variable inclient/secret.js
- The first time you run the application or whenever you have changes in your front-end code, you have to use
npm run start-dev
to start the server. (This command will start the webpack along with the server scripts) - Go to
localhost:8080
in a browser and log in as one of the user you see in the seed filescript/seed.js