Sometimes we need to create dynamic routes based on database information.
Here is an example that you can use on your projects, mostly inside your routes file, by retrieving a routes array (as example) and load them dynamically.
Have fun!
Bruno
twitter.com/brunocfalcao