I looked all over the internet and all I could find was: "Make sure you add module.exports = router" at the end of your router file.
My router file is as fo