erichartline / tiger-slackbot

Node.js Slackbot to help with technical interviews
0 stars 0 forks source link

Pull random object from JSON #7

Closed erichartline closed 7 years ago

erichartline commented 7 years ago

Now that we have a JSON file with a ton of questions, we need to find a way to access that data within our JavaScript file. We will need to set up a randomizer to pull one object from the JSON for every request from the end user. I set up an API testing branch with some basic (not working) code as a possible starting point.