tl-its-umich-edu / canvas-app-explorer

A Web application that presents a list of Canvas external (LTI) tools with details. When integrated within Canvas, the user can search for specific LTI tool(s), and add or remove those tools from Canvas courses.
Apache License 2.0
4 stars 6 forks source link

Fixes #60 Consumes REST API using React to generate Canvas App Components #61

Closed danie1zhang closed 3 years ago

danie1zhang commented 3 years ago

Starting point for addressing issue #60. Fetches JSON file from REST API, and using JSON data to create new ProductCards with custom information.

jonespm commented 3 years ago

We talked on the meeting that this should

It's possible the images won't be working here yet but we can fix that with #57

danie1zhang commented 3 years ago

@jonespm Implemented all the necessary code in Home.jsx, but can't get the json to work. I was wondering if you had any idea why. When I use async await, there isn't even a GET request in the terminal for /api/lti_tools/ and the webpage doesn't load, and when I remove async and await, a GET /api/lti_tools is shown in terminal, but the webpage still doesn't load.