Laravel Tutorial for Beginners: Part 1 - Installation, Authentication, Migrations, DB Connection

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
task we will create a blog blog page which will be in public and then we will create a admin section to for cud operations right so first let us do one thing let us install lar so we will go to desktop then we will go to insty sorry inst folder and then I'm starting the myll server using this command so Brew Mac that is why I'm writing BL I can go and create a new schema sore create so let us okay this will be our we can create tables okay so let us go to our code and install our install lar install lar installation basic repeat I have uh my default PHP version is 7.4 so I need to change my PHP which should PHP so may I have multiple version installed 2 minus V 8.36 and uh which composer so I need the full path let me just HP compos that then create and name of this will be install BL it's installing the dependencies from package.json it has done the migration okay let me go me open this save okay so here let us go to the EnV file in EnV I can see that the database is SQL l i will I need to change it to mySQL as we will be using MySQL and then in sty Blog the database name which we created along with the DB password okay so let us try to save let us try to save it and run HP artion migration done if I come over here I refresh it I'll see my tables any doubt so far migration tables the migrations are so I'll go and create a simple uh migration for our blocks table for that I have to write PHP artian make migration create blocks table okay and this has created this file now let us add some Fields like string title okay then string short description and long text description okay we can make a fieldable by using nullable so just will make it nullable okay now t okay this should create our blogs table let us refresh all we have a blocks table description short description take created and updated why created and updated is created create uh because of time stamp any doubt and let us do some entry in this like ID is Auto incremented auto incremented so let us some put some title 2024 elections elction res out let just put a sample La description okay and put a default value which is form is 202 4 6 22 let just create two value eight exam okay apply done so this has created two values for me okay and if I go and write PHP aration serve my application will start running right also what we can do is like we have we have to go for larel we have to install larel and for that we will use laral Breeze getting started starter kits authentication let us install let us check whether we have larable Breeze or not or if not then we will install it again I have to work in your computer PHP or composer will do but I have to use this as I have again told you that I have multiple version of PHP LEL Bree installation done okay simp I will for the sake of simplificity I will choose the default option okay I will not go with react or view so that it doesn't make it complex okay so far any doubts simple huh take now you can see login register and I can create a new account like Anand password registered and with the log out and profile functionality dashboard everything is here okay and we have a homepage so according to our requirement we need the blog list in this page I hope you like this video do like share and subscribe thank you
Info
Channel: Instaily Academy
Views: 41
Rating: undefined out of 5
Keywords:
Id: XnCudO3hEWU
Channel Id: undefined
Length: 12min 1sec (721 seconds)
Published: Fri Jul 12 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.