Laravel 10 - Genesis Starter Kit

Touseef Afridi
12 Sep 24

Laravel 10 - Genesis Starter Kit

In this tutorial, we will see how to implement the Genesis Starter Kit in Laravel 10 and why it's useful for jumpstarting your project with pre-built features.


If you're a video person, feel free to skip the post and check out the video instead!


Step # 1 : Create fresh Laravel project.

Two commands to create fresh Laravel project.
Global Command : laravel new genesis
Or use
Non Global Command : composer create-project laravel/laravel --prefer-dist genesis

Step # 2 : Access the project.

Open a terminal (e.g., Git Bash) and navigate to your Laravel project's root folder.
Git Bash : cd c:xampp/htdocs/genesis

Step # 3 : Install Genesis package.

Run the following command to install the Genesis Starter Kit.
Command : composer require devdojo/genesis dev-main
Publish Genesis Assets.
Command : php artisan ui genesis
Install the necessary dependencies and run the Vite server using the following command.
Command : npm install && npm run dev
In a new terminal window or tab (while keeping the Vite server running), navigate to the same project directory to execute further Laravel command.

Step # 4 : Migrate the database.

Run database migration using following command.
Command : php artisan migrate
type (yes) to create the database.

Step # 5 : It's time to test.

Start the Laravel development server.
Command : php artisan serve.

Once the server is running, you can now visit the following URLs to access your authentication pages.
Register: /register
Login: /login
Logout: /logout
Forgot Password: /forgot-password
Reset Password: /reset-password
Email Verification: /email/verify
Resend Email Verification: /email/resend
User Profile: /profile


Share this with friends!


"Give this post some love and slap that 💖 button as if it owes you money! 💸😄"
0

0 Comments

To engage in commentary, kindly proceed by logging in or registering