Make project in laravel series 1.


https://www.cgca.gov.in/ccarj/form16Download

 Make a project 

    1. composer create-project laravel/laravel Project_name

    2. composer require laravel/ui 

    3. Make database and connect to env

    4. Make auth 

       php artisan ui:auth

    5.php artisan migrate

    6.Download Template

      https://bootstrapmade.com/company-free-html-bootstrap-template/download/

    7.Make route for view and make index.blade.php 

    8.paste assets and forms  in public folder.

    9.copy index.html page data and paste index.blade.php

    10.run http://127.0.0.1:8000/

    


11. Last file ko rollback karna

    php artisan migrate:rollback


12. ALL TABLE WILL REMOVE.

    php artisan migrate:reset


13. Rollback and migrate all tables 

    php artisan migrate:refresh


14. Make a project 

    1. composer create-project laravel/laravel Project_name

    2. composer require laravel/ui 

    3. Make database and connect to env

    4. Make auth 

       php artisan ui:auth

    5.php artisan migrate

    6.Download Template

      https://bootstrapmade.com/company-free-html-bootstrap-template/download/

    7.Make route for view and make index.blade.php 

    8.paste assets and forms  in public folder.

    9.copy index.html page data and paste index.blade.php

    10.run http://127.0.0.1:8000/


15. Make a project part 2.

    1.Start Project and run

    2.Make masterLayout.blade.php 

      1. paste head data

      2. @section('header')

         @show

              

         @yield('content')


         @section('footer')

         @show

    3. IN index.blade.php

        @extends('layouts.masterLayout')

        @section('content') 

        @endsection('content')

    4.Make UserController




Comments

Popular posts from this blog

My Sql Query ..

Interview question laravel.