1. Basic routing :
The most basic laravel routes accept a URI and a closure providing a very simple and expressive method of defining routes.
return ‘Hello World’;
2. Default Route Files :
All laravel files are defined in route files which is located in routes directory . The routes/web.php file is for web interface .These routes are assigned the web middleware group which provide features like session state and CSRF protection . The routes in route/api.php are stateless and are assigned in api middleware group.
The application will begin by defing routes in routes/web.php.