Create `api/getTopics.js` and add logic for handling `get` requests and returning all the topics in the database.
Create
api/getTopics.jsand add logic for handlinggetrequests and returning all the topics in the database.