Quickstart
By Ruben Aegerter ยท Last updated Feb 2024
TL;DR: Copy these 3 commands and you have a working voice app:
npm install -g @jovotech/cli
jovo new my-app && cd my-app
jovo run
This is the fast-track version of our Getting Started guide. If you want detailed explanations, read that first. If you just want code โ keep reading.
Choose Your Platform
Alexa
Web
Minimal Handler
Here's the smallest possible Jovo app โ one component with a LAUNCH handler:
import { Component, BaseComponent, Global } from '@jovotech/framework';
@Global() @Component()
export class GlobalComponent extends BaseComponent {
LAUNCH() {
return this.$send('Hello World!');
}
UNHANDLED() {
return this.$send('I didn\'t catch that. Try again?');
}
}
Deploy
$ jovo build # Converts to platform-specific files
$ jovo deploy # Uploads to Alexa/Google/Cloud