From the course: Building Laravel and Vue.js 2 Web Apps
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Scaffolding an authentication system
From the course: Building Laravel and Vue.js 2 Web Apps
Scaffolding an authentication system
- [Instructor] In Homestead, the Laravel installer is already set up for us so to create a new project we can just do, Laravel new nadias. Because our sync nadias directory already exists, we'll want to add the force option to allow it to overwrite that empty directory. Once this is done, we can already navigate to http://dev.nadias, and we should be able to see the default Laravel site. The first thing we'll want to do with our new project, is add it to the VS code workspace. So from the file menu, I'm going to do add folder to workspace, and in my user directory I'm going to want nadias. You'll find that most backend related items are under App, but not everything. For example, we have the routes folder down here, and lets take a look at web.php. And this is where we define routes that you can navigate to in the browser. Here we have one route route, slash, which serves the welcome view, which you can find in resources, views, welcome.blade.php. Before we start building out our…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.