Summer Learn API is the backend that powers Summer Learn Bot, a chatbot that can answer questions about the Summer Learn program at Mount Vernon Nazarene University. This project was created as a part of a class called Software and Systems Engineering. This backend can be adapted to any bot built using the Dialogflow platform, with some modifications (namely removing the Courses API).
- Run
yarn
to download all of the dependencies - Add a
.env
file to the root directory for the environment variables. They're listed inconfig/keys.js
- Add a file called
apikeys.json
and create a structure that mimics the example below
[
{
"owner": "",
"key": ""
}
]
- Setup the database using MySQL with the included
setup.sql
file in thesql
directory - Run with
node app
Test with yarn test