Here is the code for the API router: This is where we mount our router, so requests starting with the path will be directed to .