app.js - App Initialization and Logic

Learn how to use the app.js file of the Jovo Framework.

Overview

The app.js file is the heart of your voice app's logic, and consists of the following two main components:

App Initialization

The app initialization section requires all the modules and plugins that are needed for your voice app to work:

With the use command, you can register any additional plugins. The configuration can then be done in the config.js file.

App Logic

The app logic section is where the routing is happening. Small projects may also contain data operations and output. For larger projects, we recommend keeping the app.js organized and splitting up the logic into different files and modules.

Learn more about Routing here.

Comments and Questions

Any specific questions? Just drop them below. Alternatively, you can also fill out this feedback form. Thank you!

Join Our Newsletter

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