It is also linked to wikipedia's API and very easy to customize using JSON.
To get a local copy up and running follow these simple steps.
- NodeJs
- npm
- Clone the repo
git clone https://github.com/devXprite/javascript-chatbot
- Install NPM packages
npm install
- Rename
.env.exampleto.envBOT_NAME="Bot Name" DEVELOPER_NAME="Your Name" DEVELOPER_EMAIL="Your Email" BUG_REPORT_URL="Your URL"
- Start Server
npm start
In the project directory, you can run:
-
npm run devRuns the app in the development mode.
Open http://localhost:3000 to view it in your browser. -
npm run lintCheck for errors in your code.
-
npm run lint:fixFix auto fixable problems.
Click this button to configure your Project and deploy it to Vercel.
Some chat intents were taken from Dialogflow's Small talk.