This is Lesson 4 of Build Your First Laravel App, my FREE 5 lesson video course that has helped over 10,000 developers learn to build their first Laravel web application, step by step.
In the previous lesson, you created a database to store your movies’ information and attached it to your app.
In this lesson, you’re going to learn about the remaining pieces of MVC and how real-world web applications are organized. And you’ll also put that data you retrieved from your database last time to good use.
[YOUR_PROJECT]/routes/web.php
, as opposed to [YOUR_PROJECT]/app/Http/routes.php
, it’s location in previous versions of Laravel, as seen in this video. Make sure you add your code to the file in the new location!