Have you been trying to learn Laravel and are you ready to take it a step further by creating a shopping cart? Try this 2-hour free course out.
Who this course is for
· People who are looking for web programming jobs
· People who want to learn everything about Laravel
· People who struggle with projects
· People who want to learn how to host a Laravel project on Cloudways
Version numbers of this project
· Laravel 8.7
· Tailwind 2.0
What will we do?
Have you been trying to learn Laravel and are you ready to take it a step further by creating a shopping cart? Try this 2-hour free course out.
Who this course is for
· People who are looking for web programming jobs
· People who want to learn everything about Laravel
· People who struggle with projects
· People who want to learn how to host a Laravel project on Cloudways
Version numbers of this project
· Laravel 8.7
· Tailwind 2.0
What will we do?
Laravel is one of the most popular PHP frameworks out now. Learning the fundamentals of a language is one thing, but learning through real-life projects is another. In this course, we will be creating the following:
· Basic home page
· Shop page that shows all products
· Specific product page
· Shopping cart
What will you be learning in this course?
· How to setup Controllers, Models, Migrations & Routes
· Setup database seeders
· Storing images correctly through the storage
· Building the frontend from an existing repository
· Making our pages dynamic
· Saving products into a session
· Deleting products from a session
What will we not be doing?
Udemy courses can be a maximum of 2-hours, so I had to cut some parts out of this tutorial. We won’t be creating the following:
· Authentication
· A payment system
· A total amount overview
Working on local projects is awesome when you are a beginner. But what comes after? We will be using a cloud managed hosting platform called Cloudways to host our project simply in a couple steps, into the cloud.
This video will show you how you what we will be doing in this course.
In this video, we will be setting up our GitHub repository and Laravel project.
In this video, we will be creating all necessary controllers, model(s), migrations and routes.
In order to interact with your migrations, you need to setup your database! In this video, we will be creating our database and adding our Database credentials in the .env file.
In order to add products to the shopping cart, we do need to have products inside our database. In this video, we will be setting up our migration.
I don't want to add products into my database through an interface but I rather use a Database Seeder that we can also run on Cloudways!
There are different methods on how you should store images in Laravel. I personally recommend using a symbolic link, which we will setup in this video.
I have already created a static frontend in HTML and Tailwind to save us time. In this video, we will be integrating that project into our current project.
Link to repository:
https://github.com/codewithdary/laravel-shopping-cart-static
We will be taking it a step further in this video by making our shop dynamic by adding our Database Products into the shop.
In this video, we will be saving products into our session which we can access in the shopping cart.
Based on the session that we filled in the previous video, we'll be printing it out inside our shopping cart.
In this video, we wil be setting up the "Delete" shopping cart item.
Exercise time! I want you to create the update cart quantity functionality. I have added the solution inside my GitHub repository + documentation so let me know what you have done differently.
Whether you like it or not, errors will happen when your either programming or deploying code to the Cloud. Over the years, I have used the cloud quite a lot and there are two errors that keep occurring every once in a while, when I deploy a Laravel project. I quickly want to show it before we continue on.
Before we can continue on to the next section in this course, which is deploying the code on Cloudways, we do need to make sure that our GitHub repository is up to date.
By default, GitHub excludes the hidden folder/files. Let's make sure that we push the images to GitHub as well.
This video will show you what Cloudways is and what is has to offer.
This video will show you the five (AWS, Google Cloud, Linode, Vultr and Digital Ocean) cloud providers where you can choose from in Cloudways.
This video will show you what Cloudways has to offer for performance.
This video will show you what Cloudways does to optimize their security.
This video will show you all extra features that are integrated in Cloudways, that you can use!
This video will explains how you should choose your Server location.
We will finally start setting up our server & application in Cloudways their dashboard.
In this video, we will be accessing the server through the CLI
This video will show you the final steps needed to deploy your project through Cloudways.
Cloudways offers a one click SSL installation, and that's what we will be testing out in this video!
This video will be an outro and it will show you what the advantages and disadvantages are of Cloudways.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.