Ahmed Khan wrote a nice tutorial on how to use routes in Laravel 5.4.

Laravel routing