โ† Blog ยท Course Project

Project 1: Hello World โ€” Your First Voice App with Jovo

Jovo Team ยท ยทUpdated Jan 2024 ยท10 min read

Every great voice app starts with Hello World. In this first project, you'll set up the Jovo development environment and build a minimal app that responds to a launch request across both Alexa and Google Assistant โ€” from a single codebase.

What you'll build

  • โœ“ A working Hello World voice app on Alexa & Google Assistant
  • โœ“ Project structure you'll use for every future Jovo app
  • โœ“ Your first LAUNCH handler returning a spoken response
  • โœ“ Local testing via the Jovo Debugger

Step 1: Install the Jovo CLI

The Jovo CLI is your main tool for scaffolding and running voice projects:

$ npm install -g @jovotech/cli

$ jovo --version

Step 2: Create the Hello World Project

Scaffold a new project with the default template, which includes both Alexa and Google Assistant support:

$ jovo new hello-world

$ cd hello-world

Step 3: Your First Handler

Open src/components/GlobalComponent.ts. The LAUNCH handler runs when a user opens your skill or action:

LAUNCH() {

return this.$send({ message: 'Hello World! Welcome to your first Jovo app.' });

}

Step 4: Run Locally

$ jovo run

โœ“ Local dev server running on port 3000

Use the Jovo Debugger to send a LAUNCH request and hear your Hello World response in the browser.

Continue the course