Getting Started with Laravel Jetstream
Tags: laravel, vue, php, framework
Published: 2020-10-04 19:30:13

## Why I Start with Laravel Jetstream
![Screenshot Dashboard](https://jetstream.laravel.com/assets/img/preview.f0f8d363.png)
- [ ] application scaffolding for Laravel
- [ ] provides `login`, `registration`, `email verification`, `two-factor authentication`, `session management`, `API support via Laravel Sanctum`, and ` optional team management`.
- [ ] using *Tailwind CSS* and offers choice of [Livewire](https://jetstream.laravel.com/1.x/stacks/livewire.html) or [Inertia](https://jetstream.laravel.com/1.x/stacks/inertia.html) scaffolding.

#### Frontend stack
- `Livewire + Blade`- simple to build modern, reactive, dynamic interfaces using Laravel Blade as your templating language
- `Inertia.js + Vue`- uses *[Vue.js]*(https://vuejs.org/) as its templating language.
<hr />

## Let's Get It Started
![Eat-Sleep-Code-Repeat](https://images.unsplash.com/photo-1564865878688-9a244444042a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80)_Photo by [Roman Synkevych](https://unsplash.com/@synkevych?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText)_
<hr />

#### [STEP 1: Complete 3 Basic Step](/#step1)
- Please make sure you complete the tutorial [3 Easy Steps before getting started with Laravel Jetstream](https://dev.to/sheikhazrin/getting-started-laravel-jetstream-1k4e) without any error. 
<hr />

#### [STEP 2: Install Jetstream Using Laravel Installer](/#step2)
- Open cmd.exe and to type `laravel new *project-name* --jet`.
Please change *project-name* to your project name.
<pre><code>laravel new myapp-laravel --jet</code></pre>
- Then, please select stack *1* for *inertia*
<pre><code>Which Jetstream stack do you prefer?
[0] livewire
[1] inertia
>1</code></pre>
- Next, press 'no' for questions to enable team support in application for now.
<pre><code> Will your application use teams? (yes/no) [no]:
>no</code></pre>
- installation process started
<pre><code>Creating a "laravel/laravel" project at "./myapp-laravel"
Installing laravel/laravel (v8.0.3)- Installing laravel/laravel (v8.0.3): Loading from cache
Created project in C:\*YOUR-WORKING-PATH*\myapp-laravel
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
...
...
....
The [C:\*YOUR-WORKING-PATH*\myapp-laravel\public\storage] link has been connected to [C:\*YOUR-WORKING-PATH*/myapp-laravel\storage\app/public].
The links have been created.

Application ready! Build something amazing.</code></pre>
- this installation process will take time.
<hr />

## Be patient with me
![Be-patient-with-me](https://images.unsplash.com/photo-1511406933301-8e740b28cc89?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=60)_Photo by [Charles Deluvio](https://unsplash.com/@charlesdeluvio?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText)_
<hr/>

#### [STEP 3: Migrate your database](/#step3)
- Open cmd.exe and to type `php artisan migrate` to start. 
<pre><code>>php artisan migrate your database
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated:  2014_10_12_000000_create_users_table (136.76ms)
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated:  2014_10_12_100000_create_password_resets_table (193.32ms)
Migrating: 2014_10_12_200000_add_two_factor_columns_to_users_table
Migrated:  2014_10_12_200000_add_two_factor_columns_to_users_table (339.87ms)
Migrating: 2019_08_19_000000_create_failed_jobs_table
Migrated:  2019_08_19_000000_create_failed_jobs_table (186.94ms)
Migrating: 2019_12_14_000001_create_personal_access_tokens_table
Migrated:  2019_12_14_000001_create_personal_access_tokens_table (290.68ms)
Migrating: 2020_10_04_042537_create_sessions_table
Migrated:  2020_10_04_042537_create_sessions_table (2,030.25ms)</code></pre>
<hr/>

#Complete & Congrat: 
[Getting Started With Laravel Jetstream(Laravel Installer)](https://dev.to/sheikhazrin/getting-started-laravel-jetstream-1k4e)
![Complete-and-Congrat](https://images.unsplash.com/photo-1594066521341-330a79387ec3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1353&q=80)_Photo by [Eilis Garvey](https://unsplash.com/@eilisgarvey?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText)_
<hr/>

## Next: 
[Install MySQL database on Laravel Frameworks](https://dev.to/sheikhazrin/install-mysql-database-on-laravel-frameworks-2h85)
[Getting Started With Laravel Jetstream(Composer)] - _COMING SOON_