Closed simonpweller closed 4 years ago
QQ: Do you need to Routes file or the Routes folder ?
I think for now just a routes file will do since there's just a couple of them at them moment.
@Serhazor are you interested in opening a PR for this one?
I would be interested, yes. I've forked the repo and figuring out how to do it (I am complete newby in it, so bare with me :-))
No problem at all - take your time and give me a shout if I can help. I've just assigned it to you for now so others can see someone is already working on this.
Currently the routes are all in the main app file, which will quickly become cluttered. Let's shift them to a separate file. There's an example of how this can be done in the express documentation: http://expressjs.com/en/guide/routing.html#express-router