● Alexa Skills that will use call ToDoist and will also call other RestAPIs
● Storing data in a mysql database
● Use of AJAX calls from a browser based application.
Phase 1 will be for Alexa to get access to the users ToDoist Token. To do this start with the provided Skill and modify it in anyway necessary so that if the ToDoist Token for the current user is not present, the token is obtained.
Phase 2 will be to create a REST API
Phase 3 will be to implement a Web Interface
Phase 4 will be to complete the Alexa Skill from the template code.
You can complete as many phases as you desire. Points for each phase are denoted in the details. You MUST complete phase 1 and can complete the other phases as you desire. They are independent of each other.
Details:
● Phase 1 - MUST BE COMPLETED
○ Title: Alexa OAuth
○ Points: 40
○ The provided code has both the Json for Alexa and the Lambda js code.
○ If the token exists the program will read out the first task. This function exists and does not need to be changed. If the token does not exist, the code calls a function for oauth which you have to implement.
○ Starter code is https://gitlab.csi.miamioh.edu/campbest/cse451-campbest-node-s19/tree/master/ FinalExam
○ Note: Make sure to use the blueprint "trivia" when setting up the lambda code as this will include the needed dynamodb libraries.
● Phase 2
○ Title: Rest API
○ Points: 20
○ Implement a REST API on ceclnx01 that meets the following specifications.
○ Create a mysql database (the create script is in the git project associated with this assignment).