All config is stored in config/app.php and ignored by VCS by default, makse sure you've created your own. See example in config_example.php
Default website root is /public(recommended)
For sub-folder mode:
- Make sure you've moved all contents of public dir into project root before.
- Amend website_root var in config/app.php
Run {domain}/migrate once to create necessary tables
All app routes are stored in app/Http/routes.php.
Example
$router->get('', 'HomePageController@index');
The code above binds index uri with the controller class located in app/controllers/HomePageController.php and it's method index.
All views must be placed in resources/views folder or it's subfolders.
Views can be refernced in controllers by using the view helper.
return view('pages.default', ['page'=>$whatever_is_stored_as_page_value]]);
First param is path(dot notation) to the view relative to resources/views folder
Second param is data(array $variable=>value) passed into that view.
In example above view will be able to use page
variable having value of $page
controller variable.