16. The REST API we’ll build

API
resources:
         Topic, Course, Lesson
Topics:
    GET     /topics          Get all topics
    GET     /topics/id       Get the topic
    POST    /topics          Create new topic
    PUT     /topics/id       Updates the topic
    DELETE  /topics/id       Deletes the topic