IGx89 / jovo-sample-voice-app-typescript

Sample Voice App that uses the Jovo Framework and Typescript to create a "Hello World" Alexa Skill and Google Action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jovo Framework

Typescript Sample Voice App for the Jovo Framework ⭐️

Documentation - CLI - Templates -Contributing - Twitter


Typescript Sample Voice App for Jovo

app.setHandler({
    LAUNCH() {
        this.toIntent('HelloWorldIntent');
    },

    HelloWorldIntent() {
        this.ask('Hello World! What\'s your name?', 'Please tell me your name.');
    },

    MyNameIsIntent() {
        this.tell('Hey ' + this.$inputs.name.value + ', nice to meet you!');
    },
});

Jovo is a development framework for cross-platform voice apps. Use this repository as a starting point to create a voice application for Amazon Alexa and Google Assistant in Typescript.

🚀 Join our newsletter for free courses on voice app development: www.jovo.tech/newsletter

Getting Started

In this guide, you will learn how to create a "Hello World" voice app for both Amazon Alexa and Google Assistant.

Install the Jovo CLI

The Jovo CLI is the best way to get started with Jovo development:

$ npm install -g jovo-cli

To learn more, please find the Getting Started Guide in the Jovo Framework Docs.

Clone this repository

$ git clone https://github.com/jovotech/jovo-sample-voice-app-typescript.git

$ cd jovo-sample-voice-app-typescript

$ npm install

Run the Code

# Compile Typescript
$ npm tsc

# Run Jovo development server (./dist/index.js)
$ jovo run

About

Sample Voice App that uses the Jovo Framework and Typescript to create a "Hello World" Alexa Skill and Google Action

License:Apache License 2.0


Languages

Language:TypeScript 86.9%Language:JavaScript 13.1%