Giter VIP home page Giter VIP logo

chat-bot's Introduction

PolloPollo chat-bot

Dependencies

Node

To run the chatbot, then it is necessary to have Node installed on your system.

The project has only been tested on recent versions of Node, and hence it is recommened to use Node >= 8.0.

Typescript

Furthermore typescript is required to compile the project to Node compatible JavaScript code.

To install TypeScript run the command npm install -g typescript or yarn global add typescript

Build project

The PolloPollo chat-bot project is written in TypeScript and hence compilation is required in order to run the project. Therefore, to run the bot, please use the following steps:

  1. Run the command tsc in the root of the project
  2. Run the command yarn start/npm run start to run the bot

Deploy project

In order to deploy to chat-bot to the server then please go through the following steps:

  1. Run the command tscin the root of the project
  2. Connect to the server and navigate to the headless-obyte folder
  3. Upload all files in the project except the folder node_modules and conf.js
  4. Run npm install on the server within the headless-obyte folder
  5. Run the command npm run start to start the bot

Architecture of the project

The PolloPollo chat-bot is separated into two main functionalities.

The first part is functionality to respond to requests from Obyte wallets, and the second part is a listener that awaits requests on /bot/*. These requests are validated and will only be processed if they're interacted with from the PolloPollo backend.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.