Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.12 KB

README.md

File metadata and controls

25 lines (21 loc) · 1.12 KB

Summer Learn API

JavaScript Style Guide Build Status

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).

How to run

  1. Run yarn to download all of the dependencies
  2. Add a .env file to the root directory for the environment variables. They're listed in config/keys.js
  3. Add a file called apikeys.json and create a structure that mimics the example below
[
  {
  "owner": "",
  "key": ""
  }
]
  1. Setup the database using MySQL with the included setup.sql file in the sql directory
  2. Run with node app

Test with yarn test