git clone
this repository- Install and use Node v8.10
- Run
npm install
- Make a copy of the
app/config.example.json
file and name itconfig.json
. Edit it with all of the requisite fields. - Make a copy of the
aws-config.sample.js
file and name itaws-config.js
. Edit it with all of the requisite fields. - Make a copy of the
swagger.example.yaml
file and name itswagger.yaml
. Edit it with all of the requisite fields.
app/ -> Flow logic
assets/ -> Media files of the skill
models/ -> Interaction model for every locale
platforms/ -> Alexa Skill and Dialogflow model
.editorconfig -> IDE configuration
.eslintrc.json -> Eslint configuration
.gitattributes -> Git media files rules
.gitignore -> Git ignore rules
app.json -> Jovo app configuration file
aws-config.sample.js -> AWS sample file for profile
gulpfile.js -> Automated tasks
LICENSE
package.json -> Dependencies
README.md
swagger.example.yaml -> Sample file for swagger configuration for API Gateway
Shout for Nicaragua
shout for nicaragua
For now, Shout for Nicaragua is spoken in English and Spanish, looking to add more languages!
The Jovo Command Line Interface (jovo-cli) offers the ability to create, prototype, test, and deploy your voice app quickly. To push any update, you will need this command:
jovo deploy
If you need to run the app locally, you just need to run the following command:
jovo run app/index.js -w
This will start the server and watch for changes. You will see your webhook URL in the console so you can set it in the DialogFlow and Alexa console.
Use this file to create/update your API Gateway configuration. This will allow you to connect your code stored in a Lambda function to the Google Assistant app.
If you need a full example of a Swagger file, follow this link
The API Gateway requires the IAM role to add it as a trusted relationship. For that you can modify the Trust Policy like this:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "", "Effect": "Allow", "Principal": { "Service": [ "apigateway.amazonaws.com", "lambda.amazonaws.com" ] }, "Action": "sts:AssumeRole" } ] }