Skip to content

Jovo sample app that showcases data collection and component best practices

License

Notifications You must be signed in to change notification settings

jovotech/jovo-sample-components

Repository files navigation

Jovo Component Sample

A screenshot of the Jovo Debugger showing a conversation between a user and a bot with the goal of reserving a table

Website - Docs - Marketplace - Template

This Jovo v4 sample app showcases the following features:

  • Navigating between components using $redirect, $delegate, and $resolve
  • Using different entry points to reach a component (for example using a global intent or START via $redirect)
  • Using the if property of the @Handle decorator to see if entities are recognized correctly
  • Using this.$component.data for component-scoped data that is removed after the component resolves

Getting Started

Clone this repository and install all dependencies:

# Clone project
$ git clone https://github.com/jovotech/jovo-sample-components.git

# Go to directory
$ cd jovo-sample-components

# Install dependencies
$ npm install

The easiest way test the project code is to install the Jovo CLI and use the run command. Learn more in Jovo getting started docs.

# Install Jovo CLI globally
$ npm install -g @jovotech/cli

# Run local development server
$ jovo run

This will compile the code, run the local development server, and print out your individual Jovo Webhook URL that you can then use to access the Jovo Debugger.

About

Jovo sample app that showcases data collection and component best practices

Resources

License

Stars

Watchers

Forks