This is a pomodor timer skill for Amazon Alexa
ASK CLI will create the skill and the Lambda function for you.
$ ask deploy
In order to develop locally and see your changes reflected instantly, you will need to create an SSH tunnel or expose somehow your local development server. There are several services that allow you to do this, for example ngrok or serveo.net.
- You need to have an SSH client installed, then simply run
$ ssh -R 80:localhost:3000 serveo.net
Forwarding HTTP traffic from [https://YOUR_URL]
Press g to start a GUI session and ctrl-c to quit.
-
Once you see the URL, copy it and go to your Skill console.
-
Open the
Endpoint
menu and selectHTTPS
-
Under
Default Region
paste the previous URL you copied. -
On the select box choose:
My development endpoint is a sub-domain of a domain that has a wildcard certificate from a certificate authority
. -
Run
npm start
to start the local server and begin testing the skill.
That's it.
Using ngrok
-
Install ngrok
-
Run
ngrok http 3000
-
Copy the URL and follow the same steps above from 3 to 6.