This is the second time you are defining express.
Khalid F. Al Khalili

Yes. Express can be defined multiple times in different files. In doing so, you can create multiple instances of the Express router. The piece of code you are referring to is creating an instance of the router. The rest of the express object is not needed in this file.

If you have any more questions feel free to ask away. Cheers.