Project Structure

In this section, you will learn more about the project structure of a Jovo Voice App.


A Jovo project is divided into two main building blocks:

  • Project Files: Overall project related files, e.g. language models and platform project information
  • Source Files: The actual code of your app. Can be found in the src folder

Project Files

These files are in the root folder and include anything that is needed to publish a project to voice platforms like Amazon Alexa and Google Assistant.

Project files include:

project.js - Project Configuration

The project.js file stores all the necessary information for your Jovo project, for example which voice platforms are built for.

Here is the project.js file of the Jovo Sample App:

Learn more about the project.js file here.

models - Language Model

The models folder contains the Jovo Language Model, which can be used to create and update platform specific language models using the Jovo CLI.

The idea is to maintain a single language model locally instead of having to go to the platform developer consoles independently.

In the models folder, every language gets a file. For example, here's how a file en-US.json could look like:

Learn more about the Jovo Language Model here.

platforms - Platform Files

The platforms folder is created by the Jovo CLI. Each platform (like Amazon Alexa and Google Assistant) gets its own folder with project files and language models. These files are then used to deploy the projects to the voice platforms.

Learn more about the Platforms folder here.

Source Files

In the src folder, you can find the actual code of your Jovo app. This part is later deployed to hosting providers like AWS Lambda.

app.js - App Logic

The app.js file is used for the logic of your voice application, which contains handlers, intents, and the configuration of your voice app:

You can find everything related to the app.js here.

config.js - App Config

The config.js file stores all the logic-related configuration:

You can find everything related to the config.js here.

index.js - Host Configuration

Everything related to running and hosting your voice application, either in Lambda or using a webhook (recommended for local prototyping), is dealt with in index.js file:

Learn everything related to host configuration and the index.js file here.

Comments and Questions

Any specific questions? Just drop them below or join the Jovo Community Forum.

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.