Web / Installation

Bootcamp Web

01. Installation

Our first step is to create the web app and set up our local environment. This Bootcamp assumes you have PHP installed on your system.

Installing Laravel

We'll create a fresh Laravel project using Laravel's installer. If you don't yet have the installer, you may install it using Composer:

bash
composer global require laravel/installer

Next, we'll create the fresh Laravel project using the Hotwire Starter Kit:

bash
laravel new turbo-chirper --using=hotwired-laravel/hotwire-starter-kit --pest

Answer "no" to the question about NPM. After the project has been created, start Laravel's local development server using the Composer dev script:

bash
cd turbo-chirper/
composer run dev

Once you have started the Artisan development server, your application will be accessible in your web browser at http://localhost:8000.

Laravel Welcome page

By default, the Laravel app will be created using SQLite. The welcome page should have the Login and Register links at the top. You should be able to head to the /register route and create your own account:

Register Page

Then, you should be redirected to the Dashboard page:

Dashboard Page

This Dashboard page is protected by Laravel's auth middleware, so only authenticated users can access it. The registration process automatically authenticates us.

If you click on your profile, you will see a settings menu screen with a few settings you may change:

Profile Menu

Clicking on the edit profile link will take you to the edit profile page:

Edit Profile

Here's the change password page:

Change Password

In the main nav, there's a theme switcher that allows you to change the daisyUI theme:

Theme Switcher

Let's build our first feature!